mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[skip ci] Fix overlapping text in the guide
Fix a layout issue in the rails guides, where the navigation covers the main text, if the page is between 800 and 960 pixels wide. (issue #33406)
This commit is contained in:
parent
0193b89be6
commit
bcd4c38171
1 changed files with 5 additions and 1 deletions
|
@ -283,8 +283,12 @@ body {
|
|||
#header .wrapper, #topNav .wrapper, #feature .wrapper {padding-left: 1em; max-width: 960px;}
|
||||
#feature .wrapper {max-width: 640px; padding-right: 23em; position: relative; z-index: 0;}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
#container .wrapper { padding-right: 23em; }
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
#feature .wrapper { padding-right: 0; }
|
||||
#feature .wrapper, #container .wrapper { padding-right: 0; }
|
||||
}
|
||||
|
||||
/* Links
|
||||
|
|
Loading…
Reference in a new issue