32 lines
1.1 KiB
CSS
32 lines
1.1 KiB
CSS
/*
|
|||
|
|
* Residue from the legacy ant.less (426 lines, deleted when ant-design-vue was
|
||
|
|
* upgraded to v4). ADV4 renders RTL natively via CSS logical properties given
|
||
|
|
* App.vue's direction="rtl", which covers nearly everything ant.less used to
|
||
|
|
* hand-fix (pagination arrows, table alignment, column floats, menu padding,
|
||
|
|
* steps, tags, radio margins, input-group radii, etc).
|
||
|
|
*
|
||
|
|
* The handful of rules below are NOT direction-driven ant behaviour — they are
|
||
|
|
* app-specific fixes that stay regardless of LTR/RTL — so they still apply.
|
||
|
|
*/
|
||
|
|
|
||
|
|
/* Uploaded file names are Latin filenames; keep them LTR even in an RTL panel. */
|
||
|
|
.ant-upload-list-item-name {
|
||
|
|
font-family: Arial, sans-serif !important;
|
||
|
|
direction: ltr;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* App-specific stacking fix: dropdowns must sit above other floating layers
|
||
|
|
used elsewhere in the panel (image previews, modals). */
|
||
|
|
.ant-select-dropdown {
|
||
|
|
z-index: 2500000;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Deliberate: keep the tab strip itself LTR-ordered while each tab's content
|
||
|
|
stays RTL, matching legacy's reading order for horizontal tab rows. */
|
||
|
|
.ant-tabs-nav {
|
||
|
|
direction: ltr;
|
||
|
|
}
|
||
|
|
.ant-tabs-nav .ant-tabs-tab {
|
||
|
|
direction: rtl;
|
||
|
|
}
|