aboutsummaryrefslogtreecommitdiff
path: root/ext/css
diff options
context:
space:
mode:
Diffstat (limited to 'ext/css')
-rw-r--r--ext/css/material.css4
-rw-r--r--ext/css/settings.css4
2 files changed, 6 insertions, 2 deletions
diff --git a/ext/css/material.css b/ext/css/material.css
index 4d319349..6621df96 100644
--- a/ext/css/material.css
+++ b/ext/css/material.css
@@ -807,6 +807,10 @@ input[type=number].code,
input[type=password].code {
font-family: 'Courier New', Courier, monospace;
}
+textarea.no-wrap {
+ white-space: pre;
+ overflow-wrap: normal;
+}
/* Input groups */
.input-group {
diff --git a/ext/css/settings.css b/ext/css/settings.css
index 62e979e0..dc8132be 100644
--- a/ext/css/settings.css
+++ b/ext/css/settings.css
@@ -1628,8 +1628,8 @@ code.anki-field-marker {
resize: none;
min-height: calc(var(--textarea-line-height) * 5 + var(--textarea-padding) * 2);
}
-#anki-card-templates-render-result,
-#anki-card-templates-compile-result {
+
+.code {
flex: 0 0 auto;
width: 100%;
max-width: 100%;