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:
s.esmaeili
2026-10-13 10:30:25 +03:30
co-authored by Cursor
parent c1b3e90b9b
commit 5a30024548
35 changed files with 260 additions and 81 deletions
+13 -1
View File
@@ -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>