mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-01 18:54:36 -05:00
fix(rtl): make sure modals are centered
Resolves https://github.com/go-vikunja/vikunja/issues/1544
This commit is contained in:
@@ -161,6 +161,10 @@ $modal-width: 1024px;
|
||||
inset-block-start: 50%;
|
||||
inset-inline-start: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
[dir="rtl"] & {
|
||||
transform: translate(50%, -50%);
|
||||
}
|
||||
|
||||
@media screen and (max-width: $tablet) {
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user