Skip to content

Commit 6d1c115

Browse files
committed
Fix main padding for mobile
1 parent cb7b55a commit 6d1c115

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/_sass/railsdoc.scss

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,13 @@ code {
124124
}
125125
}
126126

127-
// Content
128127
[role="main"] {
129-
padding-top: 133px; /* Space for fixed navbar */
128+
padding-top: 10px; /* Space for fixed navbar */
129+
overflow-wrap: break-word;
130130
order: 1;
131-
}
132131

133-
@media (min-width: 768px) {
134-
[role="main"] {
135-
padding-top: 48px; /* Space for fixed navbar */
132+
@media (min-width: 768px) {
133+
padding-top: 133px;
136134
}
137135
}
138136

0 commit comments

Comments
 (0)