diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-14 10:39:26 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-14 10:39:26 +0200 |
commit | fd55e477d4f0c57ef5fed140bbdf6774d2d23e2e (patch) | |
tree | 8fcf41afe883fc829886b9ed52e1b354950f790a /anki-card-template | |
parent | a3162b4e65c49450834e43170ed5e8785578aab3 (diff) |
small css fixes
Diffstat (limited to 'anki-card-template')
-rw-r--r-- | anki-card-template/card.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/anki-card-template/card.css b/anki-card-template/card.css index eda0f6c..0274af2 100644 --- a/anki-card-template/card.css +++ b/anki-card-template/card.css @@ -564,7 +564,8 @@ rt { user-select: none; } /* horizontal numbers and punctuation in single kana space in vertical japanese */ #card.vertical-layout #sentence .horizontal-in-vertical { writing-mode: horizontal-tb; } -.squeeze { +#card.vertical-layout .squeeze { transform: translateX(calc(var(--self-height) / 2 * -1px)) scaleX(calc(var(--self-height) / var(--self-width))); width: 0; + white-space: nowrap; } |