Skip to content

Commit 7133b31

Browse files
snowtimeglasslukstbit
authored andcommitted
fix: top side is cut off when center align & long
issue: if "Center align" is enabled and the content of the card is so long that cannot be shown entirely without scrolling, the top side of the content is trimmed.
1 parent 2fded48 commit 7133b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AnkiDroid/src/main/assets/flashcard.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ preferred over using JavaScript.
116116
.vertically_centered {
117117
position: absolute;
118118
width: 100%;
119-
height: 100%;
119+
min-height: 100%;
120120
display: -webkit-box;
121121
-webkit-box-align: stretch;
122122
-webkit-box-pack: center;

0 commit comments

Comments
 (0)