Sfoglia il codice sorgente

allow user to resize pre blocks.

Thomas Buck 2 anni fa
parent
commit
ba0c3b28ac
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      static/css/style.css

+ 6
- 0
static/css/style.css Vedi 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…
Annulla
Salva