Index: skin/new-options.css |
=================================================================== |
--- a/skin/new-options.css |
+++ b/skin/new-options.css |
@@ -53,6 +53,7 @@ |
{ |
background-color: #F3F3F3; |
display: flex; |
+ justify-content: center; |
margin: 1.2rem 0.3rem; |
font-family: "Source Sans Pro", sans-serif; |
font-size: 1.25rem; |
@@ -420,7 +421,6 @@ |
top: 1.2rem; |
bottom: 0rem; |
height: auto; |
- position: fixed; |
} |
#sidebar header |
@@ -510,8 +510,6 @@ |
#sidebar footer |
{ |
- bottom: 0px; |
- position: absolute; |
width: 100%; |
} |
@@ -522,6 +520,20 @@ |
margin: 1.2rem 0rem; |
} |
+@media (min-height: 37rem) |
saroyanm
2017/09/25 22:02:13
@Thomas can you please send the link to the soluti
Thomas Greiner
2017/09/26 10:40:38
This is a bit of a hack because it depends on the
Thomas Greiner
2017/09/26 10:40:38
What I was mentioning was `position: sticky` but a
saroyanm
2017/09/26 16:55:48
As we did introduce fixed root element and prevent
saroyanm
2017/09/26 16:55:48
I see.
Thomas Greiner
2017/09/27 13:27:50
Ok, since there's no good solution that we can imp
saroyanm
2017/09/27 14:56:43
Agree, done.
|
+{ |
+ #sidebar .fixed |
+ { |
+ position: fixed; |
+ } |
+ |
+ #sidebar footer |
+ { |
+ bottom: 0px; |
+ position: absolute; |
+ } |
+} |
+ |
/* |
Main content |
*/ |