Skip to content

Commit

Permalink
fix: top side is cut off when center align & long
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
snowtimeglass authored and lukstbit committed Feb 23, 2025
1 parent 2fded48 commit 7133b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnkiDroid/src/main/assets/flashcard.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ preferred over using JavaScript.
.vertically_centered {
position: absolute;
width: 100%;
height: 100%;
min-height: 100%;
display: -webkit-box;
-webkit-box-align: stretch;
-webkit-box-pack: center;
Expand Down

0 comments on commit 7133b31

Please sign in to comment.