Browse Source

allow user to resize pre blocks.

Thomas Buck 2 years ago
parent
commit
ba0c3b28ac
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      static/css/style.css

+ 6
- 0
static/css/style.css View File

@@ -66,6 +66,12 @@ pre {
66 66
     border-width: 2px;
67 67
     border-style: solid;
68 68
     border-radius: 10px;
69
+    resize: vertical;
70
+}
71
+
72
+/* allow resizing larger than max-height */
73
+pre[style*="height"] {
74
+    max-height: unset;
69 75
 }
70 76
 
71 77
 .ascii {

Loading…
Cancel
Save