fix: adjust transform for rtl on empty state (#25636)

This commit is contained in:
Matthew Rumery
2025-08-06 14:05:50 -06:00
committed by GitHub
parent b5c302e2e2
commit aa8addb2f1
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': patch
---
Fixed an issue for empty states not being centered in RTL languages

View File

@@ -87,5 +87,9 @@ withDefaults(defineProps<Props>(), {
inset-block-start: 50%;
inset-inline-start: 50%;
transform: translate(-50%, -50%);
html[dir='rtl'] & {
transform: translate(50%, -50%);
}
}
</style>