Skip to content

Commit c92b9c1

Browse files
committed
Some responsive improvements
1 parent 8b07a1f commit c92b9c1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

theme/css/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ pre[class*="language-"] {
146146
margin: 0;
147147
padding: 2em 1.2em;
148148
text-shadow: none;
149+
overflow-y: hidden;
149150
}
150151

151152
code[class*="language-"] {
@@ -187,7 +188,6 @@ code[class*="language-"] * {
187188
}
188189

189190
h1 {
190-
line-height: 86.4px;
191191
font-size: 72px;
192192
font-weight: 700;
193193
margin: 0;

theme/css/nav.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ nav {
4242
.nav__search {
4343
display: none;
4444
max-width: 303px;
45+
margin-left: 32px;
4546
position: relative;
47+
flex-grow: 1;
4648
}
4749

4850
.nav__search-form--mobile {
@@ -307,10 +309,6 @@ nav {
307309
display: none !important;
308310
}
309311

310-
.nav__search--input {
311-
width: 303px;
312-
}
313-
314312
.nav__menu {
315313
align-items: center;
316314
display: flex;
@@ -329,6 +327,7 @@ nav {
329327
list-style-type: none;
330328
margin: 0;
331329
padding: 0;
330+
white-space: nowrap;
332331
}
333332

334333
.nav__item {

0 commit comments

Comments
 (0)