Skip to content

Commit c9f5c83

Browse files
authored
Merge pull request #508 from blade254353074/develop
Improve display on mobile device
2 parents d65832d + 7bb1397 commit c9f5c83

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

components/navigation/navigation-style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
display: flex;
2323
font-size: 1.5em;
2424
position: absolute;
25+
top: .64em;
2526
align-items: center;
2627
color: getColor(white);
2728
cursor: pointer;
@@ -34,6 +35,10 @@
3435
@include break {
3536
display: none;
3637
}
38+
39+
.icon-menu {
40+
display: inline-flex;
41+
}
3742
}
3843

3944
.navigation__logo {

styles/markdown.scss

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,21 @@
214214
border: none;
215215
}
216216
}
217-
}
217+
218+
p {
219+
code, tt {
220+
display: inline-block;
221+
max-width: 100%;
222+
line-height: initial;
223+
overflow: auto;
224+
margin: 0;
225+
vertical-align: middle;
226+
}
227+
}
228+
229+
span {
230+
code, tt {
231+
white-space: pre-line;
232+
}
233+
}
234+
}

0 commit comments

Comments
 (0)