Skip to content

Commit 2343ec4

Browse files
committed
style to kHtmlDavisLogoHyperlinkBlock
1 parent b0e602e commit 2343ec4

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

davis_one/davis.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -525,15 +525,8 @@ const char kHtmlSimpleDataBlock[]= R"davis_delimeter({
525525

526526
const char kHtmlComboboxStyleBlock[] = R"davis_delimeter(
527527
<style>
528-
.davis_hyperlink {
529-
position: fixed;
530-
top: 10px;
531-
left: 20px;
532-
z-index: 1000;
533-
}
534-
535528
#dropdown {
536-
position: fixed;
529+
position: fixed;
537530
top: 70px;
538531
left: 20px;
539532
z-index: 1000;
@@ -631,7 +624,10 @@ function updateBackground(select) {
631624
)davis_delimeter";
632625

633626
extern const char kHtmlDavisLogoHyperlinkBlock[] = R"davis_delimeter(
634-
<a href="https://devtoolsorganization.github.io/matrix-data-visualization-DAVIS/#/" class="davis_hyperlink"
627+
<a href="https://devtoolsorganization.github.io/matrix-data-visualization-DAVIS/#/" style = " position: fixed;
628+
top: 10px;
629+
left: 20px;
630+
z-index: 1000;"
635631
target="_blank" title="about DAVIS">
636632
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="200" height="50" version="1.1"
637633
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"

plotly_maker/html_parts.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -489,15 +489,8 @@ const char kHtmlSimpleDataBlock[]= R"davis_delimeter({
489489

490490
const char kHtmlComboboxStyleBlock[] = R"davis_delimeter(
491491
<style>
492-
.davis_hyperlink {
493-
position: fixed;
494-
top: 10px;
495-
left: 20px;
496-
z-index: 1000;
497-
}
498-
499492
#dropdown {
500-
position: fixed;
493+
position: fixed;
501494
top: 70px;
502495
left: 20px;
503496
z-index: 1000;
@@ -595,7 +588,10 @@ function updateBackground(select) {
595588
)davis_delimeter";
596589

597590
extern const char kHtmlDavisLogoHyperlinkBlock[] = R"davis_delimeter(
598-
<a href="https://devtoolsorganization.github.io/matrix-data-visualization-DAVIS/#/" class="davis_hyperlink"
591+
<a href="https://devtoolsorganization.github.io/matrix-data-visualization-DAVIS/#/" style = " position: fixed;
592+
top: 10px;
593+
left: 20px;
594+
z-index: 1000;"
599595
target="_blank" title="about DAVIS">
600596
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="200" height="50" version="1.1"
601597
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"

0 commit comments

Comments
 (0)