ui(admin-panel): responsive users, offers, reports, finance, sms, config, notify and branch menus
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
is drawn with a rotated border that lands wrong under [dir=rtl].
|
||||
-->
|
||||
<a-form layout="vertical" @submit.prevent="handleSubmit">
|
||||
<a-card id="rid" title="دسترسی ها">
|
||||
<a-card id="rid" title="دسترسی ها" class="page-card">
|
||||
<div class="grid-2">
|
||||
<a-form-item
|
||||
label="سطح کاربر"
|
||||
@@ -52,6 +52,7 @@
|
||||
<a-button
|
||||
v-if="!newUT && hasPermission('user.permission.edit')"
|
||||
type="primary"
|
||||
class="form-submit"
|
||||
html-type="submit"
|
||||
>
|
||||
ثبت تغییرات
|
||||
@@ -60,6 +61,7 @@
|
||||
<a-button
|
||||
v-if="newUT && hasPermission('user.permission.create')"
|
||||
type="primary"
|
||||
class="form-submit"
|
||||
html-type="submit"
|
||||
>
|
||||
افزودن
|
||||
@@ -211,4 +213,14 @@ onMounted(async () => {
|
||||
.tree-item {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
/* the permission tree nests deep; a smaller indent keeps titles readable */
|
||||
.tree-item :deep(.ant-tree-indent-unit) {
|
||||
width: 14px;
|
||||
}
|
||||
.tree-item :deep(.ant-tree-node-content-wrapper) {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user