1
0
Fork 0
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:
Arye Dov Eidelman 2018-08-17 16:41:42 -04:00
parent 0193b89be6
commit bcd4c38171

View file

@ -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