Skip to content

Commit

Permalink
Fixed Issue krayin#1797
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Dec 26, 2024
1 parent 1f90616 commit 42383d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class="group relative !w-full pl-2.5"
:style="{ 'text-align': position }"
>
<span class="cursor-pointer truncate rounded">
@{{ valueLabel ? valueLabel : `${inputValue?.address} ${inputValue?.postcode} ${inputValue?.city} ${inputValue?.state} ${inputValue?.country}`.length > 20 ? `${inputValue?.address} ${inputValue?.postcode} ${inputValue?.city} ${inputValue?.state} ${inputValue?.country}`.substring(0, 20) + '...' : `${inputValue?.address} ${inputValue?.postcode} ${inputValue?.city} ${inputValue?.state} ${inputValue?.country}` }}
@{{ valueLabel ? valueLabel : `${inputValue?.address} ${inputValue?.city} ${inputValue?.state} ${inputValue?.postcode} ${inputValue?.country}`.length > 20 ? `${inputValue?.address} ${inputValue?.city} ${inputValue?.state} ${inputValue?.postcode} ${inputValue?.country}`.substring(0, 20) + '...' : `${inputValue?.address} ${inputValue?.city} ${inputValue?.state} ${inputValue?.postcode} ${inputValue?.country}` }}
</span>
<div class="absolute bottom-0 mb-5 hidden flex-col group-hover:flex">
<span class="whitespace-no-wrap relative z-10 rounded-md bg-black px-4 py-2 text-xs leading-none text-white shadow-lg dark:bg-white dark:text-gray-900">
@{{ inputValue?.address }}<br>
@{{ `${inputValue?.postcode} ${inputValue?.city}` }}<br>
@{{ `${inputValue?.state}, ${inputValue?.country}` }}<br>
@{{ `${inputValue?.city}, ${inputValue?.state}, ${inputValue?.postcode}` }}<br>
@{{ `${inputValue?.country}` }}<br>
</span>
<div class="-mt-2 ml-4 h-3 w-3 rotate-45 bg-black dark:bg-white"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ class="icon-edit rounded-md p-1 text-2xl transition-all hover:bg-gray-100 dark:h
</span>

<span>
{{ $person->organization->address['postcode'] . ' ' . $person->organization->address['city'] }}
</span>

<span>
{{ core()->state_name($person->organization->address['state']) }}
{{ $person->organization->address['city'] . ' ' . core()->state_name($person->organization->address['state']) . ' ' . $person->organization->address['postcode'] }}
</span>

<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="[&>div:last-child]:border-b-0 sticky top-[73px] flex min-w-[394px] max-w-[394px] flex-col self-start rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900">
<!-- Product Information -->
<div class="flex w-full flex-col gap-2 border-b border-gray-200 p-4 dark:border-gray-800">
<!-- Breadcrums -->
<!-- Breadcrumb -->
<div class="flex items-center justify-between">
<x-admin::breadcrumbs
name="settings.warehouses.view"
Expand Down

0 comments on commit 42383d5

Please sign in to comment.