mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Add CSS for right-to-left language input fields (#5021)
This commit is contained in:
@@ -121,6 +121,7 @@ LANGUAGES_OFFICIAL = {
|
|||||||
'en', 'de', 'de-informal'
|
'en', 'de', 'de-informal'
|
||||||
}
|
}
|
||||||
LANGUAGES_RTL = {
|
LANGUAGES_RTL = {
|
||||||
|
# When adding more right-to-left languages, also update pretix/static/pretixbase/scss/_rtl.scss
|
||||||
'ar', 'hw'
|
'ar', 'hw'
|
||||||
}
|
}
|
||||||
LANGUAGES_INCUBATING = {
|
LANGUAGES_INCUBATING = {
|
||||||
|
|||||||
@@ -47,3 +47,9 @@ html.rtl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[lang=ar], textarea[lang=ar], div[lang=ar], pre[lang=ar],
|
||||||
|
input[lang=hw], textarea[lang=hw], div[lang=hw], pre[lang=hw] {
|
||||||
|
/* Keep list of languages in sync with pretix._base_settings.LANGUAGES_RTL */
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user