diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2022-05-30 13:34:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 13:34:37 -0400 |
commit | aa5e13b441da693441a27113169c2bf87f676d06 (patch) | |
tree | 1ba9d2aadc04182850e87e3450b29f551f8d84f7 /ext/css | |
parent | 19bba07a8bccb51a9db85c13fd921d825defe753 (diff) |
Collapsible dictionary updates (#2170)
* Add "force collapsed" and "force expanded" options
* Simplify "any" check
* Update style
* Add help modal for collapsible dictionaries
* Disable wrapping
Diffstat (limited to 'ext/css')
-rw-r--r-- | ext/css/material.css | 4 | ||||
-rw-r--r-- | ext/css/settings.css | 4 |
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%; |