Skip to content

Commit cee1879

Browse files
committed
Save a few bytes
1 parent 84cea3f commit cee1879

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

src/assets/sass/modules/_layout.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
/* Layout
22
========================================================================== */
33

4-
/**
5-
* 1. Prevent adjustments of font size after orientation changes in
6-
* IE on Windows Phone and in iOS.
7-
*/
8-
9-
html {
10-
text-size-adjust: 100%; /* 1 */
11-
}
12-
134
/**
145
* 1. Remove default margin.
156
*/

src/assets/sass/modules/_print.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pre {
183183
margin-bottom: 8pt;
184184
padding: 8pt;
185185
border: 1pt solid $color-text-print;
186-
white-space: pre-wrap !important; /* 1 */
186+
white-space: pre-wrap; /* 1 */
187187
}
188188

189189
/**

src/assets/sass/modules/_typography.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33

44
/**
55
* Establish baseline.
6+
*
7+
* 1. Prevent adjustments of font size after orientation changes in
8+
* IE on Windows Phone and in iOS.
69
*/
710

811
html {
912
font-size: $base-font-size;
1013
line-height: $line-height-mobile;
14+
text-size-adjust: 100%; /* 1 */
1115
}
1216

1317
/**
@@ -434,11 +438,8 @@ hr {
434438
.ellipsis {
435439
overflow: hidden;
436440
text-overflow: ellipsis;
437-
}
438441

439-
ul,
440-
ol {
441-
&.ellipsis li {
442+
li {
442443
overflow: inherit;
443444
text-overflow: inherit;
444445
}

0 commit comments

Comments
 (0)