diff options
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; } |