Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: skin/new-options.css

Issue 29555879: Noissue - Center the content and unfix on small screens the sidebar (Closed)
Patch Set: Rebased Created Sept. 27, 2017, 2:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
@@ -419,7 +420,6 @@
top: 1.2rem;
bottom: 0rem;
height: auto;
- position: fixed;
}
#sidebar header
@@ -509,8 +509,6 @@
#sidebar footer
{
- bottom: 0px;
- position: absolute;
width: 100%;
}
@@ -521,6 +519,20 @@
margin: 1.2rem 0rem;
}
+@media (min-height: 37rem)
+{
+ #sidebar .fixed
+ {
+ position: fixed;
+ }
+
+ #sidebar footer
+ {
+ bottom: 0px;
+ position: absolute;
+ }
+}
+
/*
Main content
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld