Skip to content

Commit 139206f

Browse files
committed
refac
1 parent 6ed56b0 commit 139206f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/lib/components/admin/Settings/Models/ModelMenu.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
class="min-w-[170px] rounded-xl p-1 border border-gray-100 dark:border-gray-800 z-50 bg-white dark:bg-gray-850 dark:text-white shadow-sm"
5151
>
5252
<button
53-
class="select-none flex gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
53+
class="select-none flex w-full gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
5454
on:click={() => {
5555
hideHandler();
5656
}}
@@ -102,7 +102,7 @@
102102
</button>
103103

104104
<button
105-
class="select-none flex gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
105+
class="select-none flex w-full gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
106106
on:click={() => {
107107
pinModelHandler(model?.id);
108108
}}
@@ -123,7 +123,7 @@
123123
</button>
124124

125125
<button
126-
class="select-none flex gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
126+
class="select-none flex w-full gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
127127
on:click={() => {
128128
copyLinkHandler();
129129
}}
@@ -135,7 +135,7 @@
135135

136136
{#if model?.is_active ?? true}
137137
<button
138-
class="select-none flex gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
138+
class="select-none flex w-full gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
139139
on:click={() => {
140140
cloneHandler();
141141
}}
@@ -147,7 +147,7 @@
147147
{/if}
148148

149149
<button
150-
class="select-none flex gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
150+
class="select-none flex w-full gap-2 items-center px-3 py-1.5 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
151151
on:click={() => {
152152
exportHandler();
153153
}}

0 commit comments

Comments
 (0)