Selaa lähdekoodia

allow user to resize pre blocks.

Thomas Buck 2 vuotta sitten
vanhempi
commit
ba0c3b28ac
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6
    0
      static/css/style.css

+ 6
- 0
static/css/style.css Näytä tiedosto

@@ -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…
Peruuta
Tallenna