Commit a2dab3bb4322fa816841339b9e65a07099a69c5a
make sure json doesn't overflow
Ev Bogue committed on 4/21/2018, 3:33:06 AMParent: adb12e2137735a611a815b1947491a542fde0e61
Files changed
style.css | changed |
style.css.json | changed |
style.css | ||
---|---|---|
@@ -7,9 +7,8 @@ | ||
7 | 7 … | margin-left: auto; |
8 | 8 … | margin-right: auto; |
9 | 9 … | } |
10 | 10 … | |
11 | - | |
12 | 11 … | .message { |
13 | 12 … | display: block; |
14 | 13 … | margin-top: .25em; |
15 | 14 … | margin-bottom: .25em; |
@@ -23,4 +22,25 @@ | ||
23 | 22 … | vertical-align: top; |
24 | 23 … | width: 2.5em; |
25 | 24 … | height: 2.5em; |
26 | 25 … | } |
26 … | + | |
27 … | +pre { | |
28 … | + width: 100%; | |
29 … | + display: block; | |
30 … | +} | |
31 … | + | |
32 … | +code { | |
33 … | + display: inline-block; | |
34 … | + vertical-align: bottom; | |
35 … | +} | |
36 … | + | |
37 … | +code, pre { | |
38 … | +overflow: auto; | |
39 … | +word-break: break-all; | |
40 … | +word-wrap: break-word; | |
41 … | +white-space: pre; | |
42 … | +white-space: -moz-pre-wrap; | |
43 … | +white-space: pre-wrap; | |
44 … | +white-space: pre\9; | |
45 … | +} | |
46 … | + |
style.css.json | ||
---|---|---|
@@ -1,1 +1,1 @@ | ||
1 | -".hyperscroll {\n width: 100%;\n}\n\n.hyperscroll > .content {\n max-width: 680px;\n margin-left: auto;\n margin-right: auto;\n}\n\n\n.message {\n display: block;\n margin-top: .25em;\n margin-bottom: .25em;\n}\n\n.timestamp {\n float: right;\n}\n\n.avatar--small img {\n vertical-align: top;\n width: 2.5em;\n height: 2.5em;\n}\n" | |
1 … | +".hyperscroll {\n width: 100%;\n}\n\n.hyperscroll > .content {\n max-width: 680px;\n margin-left: auto;\n margin-right: auto;\n}\n\n.message {\n display: block;\n margin-top: .25em;\n margin-bottom: .25em;\n}\n\n.timestamp {\n float: right;\n}\n\n.avatar--small img {\n vertical-align: top;\n width: 2.5em;\n height: 2.5em;\n}\n\npre {\n width: 100%;\n display: block;\n}\n\ncode {\n display: inline-block;\n vertical-align: bottom;\n}\n\ncode, pre {\noverflow: auto;\nword-break: break-all;\nword-wrap: break-word;\nwhite-space: pre;\nwhite-space: -moz-pre-wrap;\nwhite-space: pre-wrap;\nwhite-space: pre\\9;\n}\n\n" |
Built with git-ssb-web