Skip to content

Commit 764b51d

Browse files
authored
Adjust Top Navigation Breakpoints (#34)
1 parent ebd6be3 commit 764b51d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rubycentral-theme",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "A Ghost theme for Ruby Central",
55
"engines": {
66
"ghost": ">=4.0.0"

src/css/layout/navigation-top.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@
108108
grid-area: membership;
109109
}
110110

111-
@media (min-width: 1440px) {
111+
@media (min-width: 1080px) {
112112
.navigation__mobile-menu-trigger {
113113
display: none;
114114
}
115115

116116
.navigation__inner {
117117
grid-template-columns: max-content 1fr max-content;
118-
padding: 0;
118+
padding: 0 20px 0 10px;
119119
}
120120

121121
.navigation__logo {
@@ -145,4 +145,10 @@
145145
display: none;
146146
}
147147
}
148+
149+
@media (min-width: 1440px) {
150+
.navigation__inner {
151+
padding: 0;
152+
}
153+
}
148154
}

0 commit comments

Comments
 (0)