Skip to content

Commit

Permalink
Fixed Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-webkul committed Jan 10, 2025
1 parent ff83fe7 commit ecc294f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="flex flex-wrap items-center gap-1">
<!-- Tags -->
<span
class="flex items-center gap-1 rounded-md bg-rose-100 px-3 py-1.5 text-xs font-medium"
class="flex items-center gap-1 break-all rounded-md bg-rose-100 px-3 py-1.5 text-xs font-medium"
:style="{
'background-color': tag.color,
'color': backgroundColors.find(color => color.background === tag.color)?.text
Expand Down Expand Up @@ -75,7 +75,7 @@ class="absolute z-10 w-full rounded bg-white shadow-[0px_10px_20px_0px_#0000001F
>
<ul class="p-2">
<li
class="cursor-pointer rounded-sm px-5 py-2 text-sm text-gray-800 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-950"
class="cursor-pointer break-all rounded-sm px-5 py-2 text-sm text-gray-800 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-950"
v-for="tag in searchedTags"
@click="attachToEntity(tag)"
>
Expand Down Expand Up @@ -110,12 +110,12 @@ class="flex flex-col gap-2 px-4 py-1.5"
<ul class="flex flex-col">
<template v-for="tag in tags">
<li
class="flex items-center justify-between rounded-sm p-2 text-sm text-gray-800 dark:text-white"
class="flex items-center justify-between gap-2.5 rounded-sm p-2 text-sm text-gray-800 dark:text-white"
v-if="tag.id"
>
<!-- Name -->
<span
class="rounded-md bg-rose-100 px-3 py-1.5 text-xs font-medium"
class="break-all rounded-md bg-rose-100 px-3 py-1.5 text-xs font-medium"
:style="{
'background-color': tag.color,
'color': backgroundColors.find(color => color.background === tag.color)?.text
Expand All @@ -131,7 +131,7 @@ class="rounded-md bg-rose-100 px-3 py-1.5 text-xs font-medium"
<x-slot:toggle>
<button class="flex cursor-pointer items-center gap-1 rounded border border-gray-200 px-2 py-0.5 transition-all hover:border-gray-400 focus:border-gray-400 dark:border-gray-800 dark:hover:border-gray-400 dark:focus:border-gray-400">
<span
class="h-4 w-4 rounded-full"
class="h-4 w-4 break-all rounded-full"
:style="'background-color: ' + (tag.color ? tag.color : '#546E7A')"
>
</span>
Expand All @@ -148,7 +148,7 @@ class="top-5 flex gap-2"
@click="update(tag, color)"
>
<span
class="flex h-4 w-4 rounded-full"
class="flex h-4 w-4 break-all rounded-full"
:style="'background-color: ' + color.background"
>
</span>
Expand Down

0 comments on commit ecc294f

Please sign in to comment.