fix ui
This commit is contained in:
@@ -94,5 +94,29 @@
|
||||
z-index: 1300 !important;
|
||||
}
|
||||
|
||||
// Ant Design در RTL برای لیبل افقی text-align:left میگذارد؛ روی موبایل/عمودی
|
||||
// عنوان فیلدها سمت چپ میافتد. در پنل فارسی همیشه راستچین باشن.
|
||||
.ant-form-item-label,
|
||||
.ant-form-rtl .ant-form-item-label,
|
||||
.ant-form-vertical .ant-form-item-label,
|
||||
.ant-col-24.ant-form-item-label {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.ant-form-item-label > label {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
// فرمها ستونی: عنوان بالا، کنترل پایین (inline مستثنی)
|
||||
.ant-form:not(.ant-form-inline) .ant-form-item.ant-row {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
flex-wrap: nowrap !important;
|
||||
}
|
||||
|
||||
.ant-form:not(.ant-form-inline) .ant-form-item > .ant-form-item-label,
|
||||
.ant-form:not(.ant-form-inline) .ant-form-item > .ant-form-item-control {
|
||||
flex: 0 0 auto !important;
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user