Skip to content

Commit

Permalink
fix: fix labels being selected on cancelling delete
Browse files Browse the repository at this point in the history
  • Loading branch information
usernein committed Aug 1, 2023
1 parent 22b3ef6 commit 8c8168c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InputCodeEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ export function InputCodeEditor ({
/>
<label
for='floating_outlined'
class='flex text-base-content peer-hover:text-[hsl(var(--a))] peer-hover:scale-110 peer-focus:scale-110 peer-focus:text-[hsl(var(--a))] duration-300 w-fit opacity-100 peer-placeholder-shown:hidden'
class='select-none flex text-base-content peer-hover:text-[hsl(var(--a))] peer-hover:scale-110 peer-focus:scale-110 peer-focus:text-[hsl(var(--a))] duration-300 w-fit opacity-100 peer-placeholder-shown:hidden'
>
<span className='label-text-alt text-inherit'>{label}</span>
</label>
<label
for='floating_outlined'
class='peer-hover:scale-110 peer-focus:scale-110 duration-300 w-fit opacity-100 text-error hidden peer-placeholder-shown:block'
class='select-none peer-hover:scale-110 peer-focus:scale-110 duration-300 w-fit opacity-100 text-error hidden peer-placeholder-shown:block'
>
<span className='label-text-alt text-inherit'>Required</span>
</label>
Expand Down

0 comments on commit 8c8168c

Please sign in to comment.