Browse Source

Style tweaks

tags/v0.2.0
Dylan Baker 5 years ago
parent
commit
4d40062221
1 changed files with 16 additions and 2 deletions
  1. 16
    2
      src/template.ts

+ 16
- 2
src/template.ts View File

41
     border-radius: 4px;
41
     border-radius: 4px;
42
     font-family: Source Code Pro;
42
     font-family: Source Code Pro;
43
     font-size: 16px;
43
     font-size: 16px;
44
-    padding: 4px;
44
+    overflow-x: scroll;
45
+  }
46
+
47
+  pre {
48
+    padding: 5px;
49
+  }
50
+
51
+  p code  {
45
     white-space: nowrap;
52
     white-space: nowrap;
46
   }
53
   }
47
 
54
 
55
+  pre code {
56
+    display: block;
57
+    overflow-x: scroll;
58
+    white-space: pre;
59
+    width: 100%;
60
+  }
61
+
48
   body.dark pre, body.dark code {
62
   body.dark pre, body.dark code {
49
     background: #333333;
63
     background: #333333;
50
   }
64
   }
56
   #settings, #container {
70
   #settings, #container {
57
     box-sizing: border-box;
71
     box-sizing: border-box;
58
     margin: auto;
72
     margin: auto;
59
-    max-width: 700px;
73
+    max-width: 90ch;
60
     padding: 0 1em;
74
     padding: 0 1em;
61
     width: 100%;
75
     width: 100%;
62
   }
76
   }

Loading…
Cancel
Save