mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Fix misaligned image occlusions in RTL languages (#3018)
This commit is contained in:
parent
00c67fc0c7
commit
0018f126ea
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
#image-occlusion-container {
|
||||
position: relative;
|
||||
// if height-constrained, ensure container is centered
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
margin: 0 auto;
|
||||
// allow for 20px margin on html element, or short windows can truncate
|
||||
// image
|
||||
max-height: calc(95vh - 40px);
|
||||
|
|
Loading…
Reference in a new issue