Skip to content

Commit

Permalink
Merge pull request #1373 from suraj-webkul/refactor
Browse files Browse the repository at this point in the history
refactor the person page.
  • Loading branch information
jitendra-webkul authored Aug 20, 2024
2 parents 6bf6182 + 58b5e74 commit ac9e2e8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<x-admin::form.control-group.controls.inline.lookup
::name="'{{ $attribute->code }}'"
:value="$lookUpEntity->name"
:value="$lookUpEntity?->name"
:attribute="$attribute"
position="left"
:label="$attribute->name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,20 @@ class="flex items-center rounded-xs h-[34px] space-x-2"
v-model="inputValue"
/>
<span class="pl-[2px] rounded border border-transparent">@{{ inputValue }}</span>
<div class="relative flex flex-col items-center group !w-full">
<span class="pl-[2px] rounded border border-transparent truncate w-40">@{{ inputValue }}</span>
<div
class="absolute bottom-0 flex-col items-center hidden mb-5 group-hover:flex"
v-if="inputValue > 20"
>
<span class="relative rounded-md z-10 p-4 text-xs leading-none whitespace-no-wrap text-white bg-black shadow-lg">
@{{ inputValue }}
</span>
<div class="w-3 h-3 -mt-2 rotate-45 bg-black"></div>
</div>
</div>
<template v-if="allowEdit">
<i
Expand Down

0 comments on commit ac9e2e8

Please sign in to comment.