fix(admin): active-only colleague account code and karat placement
Show montzar colleague account field only for the connected accounting provider (also on customer sync pages), untruncate hesab-ketab menu labels, and move product karat under weight/unit. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="hesab-ketab">
|
||||
<BasicMainCard>
|
||||
<div class="flex h-full min-h-0 flex-col md:flex-row">
|
||||
<BasicMenu width="11rem" :menu="menu" mode="horizontal" class="overflow-auto md:hidden" />
|
||||
<BasicMenu
|
||||
width="13rem"
|
||||
width="100%"
|
||||
:menu="menu"
|
||||
class="hidden min-w-[13.5rem] overflow-auto md:inline"
|
||||
mode="horizontal"
|
||||
class="hesab-ketab__menu hesab-ketab__menu--mobile overflow-auto md:hidden"
|
||||
/>
|
||||
<BasicMenu
|
||||
width="17rem"
|
||||
:menu="menu"
|
||||
class="hesab-ketab__menu hesab-ketab__menu--side hidden min-w-[17rem] overflow-auto md:inline"
|
||||
/>
|
||||
<RouterView
|
||||
:key="route.name"
|
||||
@@ -50,4 +55,22 @@ const menu = computed(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
<style scoped lang="less">
|
||||
.hesab-ketab__menu {
|
||||
:deep(.ant-menu-item),
|
||||
:deep(.ant-menu-submenu-title) {
|
||||
height: auto !important;
|
||||
min-height: 2.5rem;
|
||||
line-height: 1.35 !important;
|
||||
white-space: normal !important;
|
||||
padding-block: 0.55rem !important;
|
||||
}
|
||||
|
||||
:deep(.ant-menu-title-content) {
|
||||
white-space: normal !important;
|
||||
overflow: visible !important;
|
||||
text-overflow: clip !important;
|
||||
line-height: 1.35;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user