git ssb

2+

ev / mvd



Commit a2dab3bb4322fa816841339b9e65a07099a69c5a

make sure json doesn't overflow

Ev Bogue committed on 4/21/2018, 3:33:06 AM
Parent: adb12e2137735a611a815b1947491a542fde0e61

Files changed

style.csschanged
style.css.jsonchanged
style.cssView
@@ -7,9 +7,8 @@
77 margin-left: auto;
88 margin-right: auto;
99 }
1010
11-
1211 .message {
1312 display: block;
1413 margin-top: .25em;
1514 margin-bottom: .25em;
@@ -23,4 +22,25 @@
2322 vertical-align: top;
2423 width: 2.5em;
2524 height: 2.5em;
2625 }
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.jsonView
@@ -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