Explorar el Código

allow user to resize pre blocks.

Thomas Buck hace 2 años
padre
commit
ba0c3b28ac
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6
    0
      static/css/style.css

+ 6
- 0
static/css/style.css Ver fichero

@@ -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…
Cancelar
Guardar