Skip to content

Commit

Permalink
fix: preferred ratio for logo 1:1 & 2:1
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Dec 27, 2024
1 parent d9c1d5b commit ff1c373
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crm/fcrm/doctype/fcrm_settings/fcrm_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"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",
"fieldtype": "Attach",
"label": "Logo"
Expand All @@ -61,7 +61,7 @@
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2024-12-27 21:16:47.251706",
"modified": "2024-12-27 22:17:52.337109",
"modified_by": "Administrator",
"module": "FCRM",
"name": "FCRM Settings",
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/UserDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
: '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
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="
isCollapsed
? 'ml-0 w-0 overflow-hidden opacity-0'
: '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') }}
</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 }}
</div>
</div>
Expand Down

0 comments on commit ff1c373

Please sign in to comment.