diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-08 23:39:11 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-08 23:39:11 +0100 |
commit | 4966c0daed15b0c347fef51c7b9562a4fbbea729 (patch) | |
tree | fdfb816696dd44937aec3c6430a8df0b3e2945da /anki-card-template | |
parent | b5a859ce270dcffd93fc473281a3989dd370a6a2 (diff) |
fix vertical alignment of full-height layout
Diffstat (limited to 'anki-card-template')
-rw-r--r-- | anki-card-template/card.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/anki-card-template/card.css b/anki-card-template/card.css index d7c57c1..22dada7 100644 --- a/anki-card-template/card.css +++ b/anki-card-template/card.css @@ -40,9 +40,10 @@ body { margin: 0; } height: 100vh; overflow: hidden; } -#card.vertical-layout #back { +#card.vertical-layout #back { flex-direction: column; } +#card.vertical-layout #back, +#card.vertical-layout #front { display: flex; - flex-direction: column; justify-content: center; } |