ui: fix responsive
Browse files- dist/style.css +35 -2
- src/style.css +35 -2
dist/style.css
CHANGED
@@ -304,7 +304,6 @@ d-contents nav > ul > li > a:hover {
|
|
304 |
border-radius: 6px;
|
305 |
/* Add this to ensure the box only takes up needed space */
|
306 |
display: inline-block;
|
307 |
-
width: 100%;
|
308 |
}
|
309 |
|
310 |
.note-box-title {
|
@@ -688,5 +687,39 @@ select[name="presets"] {
|
|
688 |
.order-button-container {
|
689 |
display: flex;
|
690 |
justify-content: center;
|
691 |
-
margin:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
692 |
}
|
|
|
304 |
border-radius: 6px;
|
305 |
/* Add this to ensure the box only takes up needed space */
|
306 |
display: inline-block;
|
|
|
307 |
}
|
308 |
|
309 |
.note-box-title {
|
|
|
687 |
.order-button-container {
|
688 |
display: flex;
|
689 |
justify-content: center;
|
690 |
+
margin: 0px 0 40px 0;
|
691 |
+
}
|
692 |
+
|
693 |
+
d-article img {
|
694 |
+
width: 100%!important;
|
695 |
+
}
|
696 |
+
|
697 |
+
|
698 |
+
iframe, .js-plotly-plot {
|
699 |
+
width: 100%!important;
|
700 |
+
margin-bottom: 20px;
|
701 |
+
}
|
702 |
+
|
703 |
+
.modebar-container {
|
704 |
+
display: none;
|
705 |
+
}
|
706 |
+
|
707 |
+
#graph-container {
|
708 |
+
display: grid; grid-template-columns: 1fr 1fr; align-items: center;
|
709 |
+
}
|
710 |
+
|
711 |
+
@media (max-width: 768px) {
|
712 |
+
#graph-container {
|
713 |
+
grid-template-columns: 1fr;
|
714 |
+
}
|
715 |
+
}
|
716 |
+
|
717 |
+
@media (max-width: 1024px) {
|
718 |
+
#graph-container {
|
719 |
+
grid-template-columns: 1fr;
|
720 |
+
}
|
721 |
+
}
|
722 |
+
|
723 |
+
.main-plot-container svg {
|
724 |
+
background: transparent !important;
|
725 |
}
|
src/style.css
CHANGED
@@ -304,7 +304,6 @@ d-contents nav > ul > li > a:hover {
|
|
304 |
border-radius: 6px;
|
305 |
/* Add this to ensure the box only takes up needed space */
|
306 |
display: inline-block;
|
307 |
-
width: 100%;
|
308 |
}
|
309 |
|
310 |
.note-box-title {
|
@@ -688,5 +687,39 @@ select[name="presets"] {
|
|
688 |
.order-button-container {
|
689 |
display: flex;
|
690 |
justify-content: center;
|
691 |
-
margin:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
692 |
}
|
|
|
304 |
border-radius: 6px;
|
305 |
/* Add this to ensure the box only takes up needed space */
|
306 |
display: inline-block;
|
|
|
307 |
}
|
308 |
|
309 |
.note-box-title {
|
|
|
687 |
.order-button-container {
|
688 |
display: flex;
|
689 |
justify-content: center;
|
690 |
+
margin: 0px 0 40px 0;
|
691 |
+
}
|
692 |
+
|
693 |
+
d-article img {
|
694 |
+
width: 100%!important;
|
695 |
+
}
|
696 |
+
|
697 |
+
|
698 |
+
iframe, .js-plotly-plot {
|
699 |
+
width: 100%!important;
|
700 |
+
margin-bottom: 20px;
|
701 |
+
}
|
702 |
+
|
703 |
+
.modebar-container {
|
704 |
+
display: none;
|
705 |
+
}
|
706 |
+
|
707 |
+
#graph-container {
|
708 |
+
display: grid; grid-template-columns: 1fr 1fr; align-items: center;
|
709 |
+
}
|
710 |
+
|
711 |
+
@media (max-width: 768px) {
|
712 |
+
#graph-container {
|
713 |
+
grid-template-columns: 1fr;
|
714 |
+
}
|
715 |
+
}
|
716 |
+
|
717 |
+
@media (max-width: 1024px) {
|
718 |
+
#graph-container {
|
719 |
+
grid-template-columns: 1fr;
|
720 |
+
}
|
721 |
+
}
|
722 |
+
|
723 |
+
.main-plot-container svg {
|
724 |
+
background: transparent !important;
|
725 |
}
|