chore: tailwind v4 migration
This commit is contained in:
@@ -94,13 +94,13 @@
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="flex items-center">
|
||||
<input
|
||||
class="text-2xl font-semibold w-full bg-transparent outline-none"
|
||||
class="text-2xl font-semibold w-full bg-transparent outline-hidden"
|
||||
placeholder={$i18n.t('Title')}
|
||||
bind:value={title}
|
||||
required
|
||||
/>
|
||||
|
||||
<div class="self-center flex-shrink-0">
|
||||
<div class="self-center shrink-0">
|
||||
<button
|
||||
class="bg-gray-50 hover:bg-gray-100 text-black dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-white transition px-2 py-1 rounded-full flex gap-1 items-center"
|
||||
type="button"
|
||||
@@ -110,7 +110,7 @@
|
||||
>
|
||||
<LockClosed strokeWidth="2.5" className="size-3.5" />
|
||||
|
||||
<div class="text-sm font-medium flex-shrink-0">
|
||||
<div class="text-sm font-medium shrink-0">
|
||||
{$i18n.t('Access')}
|
||||
</div>
|
||||
</button>
|
||||
@@ -120,7 +120,7 @@
|
||||
<div class="flex gap-0.5 items-center text-xs text-gray-500">
|
||||
<div class="">/</div>
|
||||
<input
|
||||
class=" w-full bg-transparent outline-none"
|
||||
class=" w-full bg-transparent outline-hidden"
|
||||
placeholder={$i18n.t('Command')}
|
||||
bind:value={command}
|
||||
required
|
||||
@@ -139,7 +139,7 @@
|
||||
<div class="mt-2">
|
||||
<div>
|
||||
<Textarea
|
||||
className="text-sm w-full bg-transparent outline-none overflow-y-hidden resize-none"
|
||||
className="text-sm w-full bg-transparent outline-hidden overflow-y-hidden resize-none"
|
||||
placeholder={$i18n.t('Write a summary in 50 words that summarizes [topic or keyword].')}
|
||||
bind:value={content}
|
||||
rows={6}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
<div slot="content">
|
||||
<DropdownMenu.Content
|
||||
class="w-full max-w-[160px] rounded-xl px-1 py-1.5 border border-gray-300/30 dark:border-gray-700/50 z-50 bg-white dark:bg-gray-850 dark:text-white shadow"
|
||||
class="w-full max-w-[160px] rounded-xl px-1 py-1.5 border border-gray-300/30 dark:border-gray-700/50 z-50 bg-white dark:bg-gray-850 dark:text-white shadow-sm"
|
||||
sideOffset={-2}
|
||||
side="bottom"
|
||||
align="start"
|
||||
|
||||
Reference in New Issue
Block a user