fix: preferred ratio for logo 1:1 & 2:1

This commit is contained in:
Shariq Ansari 2024-12-27 22:18:57 +05:30
parent d9c1d5b77a
commit ff1c3733f4
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@
"label": "Branding" "label": "Branding"
}, },
{ {
"description": "An image with 1:1 ratio is preferred", "description": "An image with 1:1 & 2:1 ratio is preferred",
"fieldname": "brand_logo", "fieldname": "brand_logo",
"fieldtype": "Attach", "fieldtype": "Attach",
"label": "Logo" "label": "Logo"
@ -61,7 +61,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"issingle": 1, "issingle": 1,
"links": [], "links": [],
"modified": "2024-12-27 21:16:47.251706", "modified": "2024-12-27 22:17:52.337109",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "FCRM", "module": "FCRM",
"name": "FCRM Settings", "name": "FCRM Settings",

View File

@ -11,19 +11,19 @@
: 'w-52 px-2 hover:bg-surface-gray-3' : 'w-52 px-2 hover:bg-surface-gray-3'
" "
> >
<BrandLogo v-model="brand" class="size-8 flex-shrink-0" /> <BrandLogo v-model="brand" class="h-8 max-w-16 flex-shrink-0" />
<div <div
class="flex flex-1 flex-col text-left duration-300 ease-in-out" class="flex flex-1 flex-col text-left duration-300 ease-in-out truncate"
:class=" :class="
isCollapsed isCollapsed
? 'ml-0 w-0 overflow-hidden opacity-0' ? 'ml-0 w-0 overflow-hidden opacity-0'
: 'ml-2 w-auto opacity-100' : 'ml-2 w-auto opacity-100'
" "
> >
<div class="text-base font-medium leading-none text-ink-gray-9"> <div class="text-base font-medium leading-none text-ink-gray-9 truncate">
{{ __(brand.name || 'CRM') }} {{ __(brand.name || 'CRM') }}
</div> </div>
<div class="mt-1 text-sm leading-none text-ink-gray-7"> <div class="mt-1 text-sm leading-none text-ink-gray-7 truncate">
{{ user.full_name }} {{ user.full_name }}
</div> </div>
</div> </div>