"test/ut/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "c80bda297ebd3241fd5c4a3725d10378ccafd592"
Commit 9ff74038 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: styling

parent 8c64f062
...@@ -71,8 +71,8 @@ ...@@ -71,8 +71,8 @@
class=" snap-center min-w-80 w-full max-w-full m-1 outline outline-1 {history.messages[ class=" snap-center min-w-80 w-full max-w-full m-1 outline outline-1 {history.messages[
currentMessageId currentMessageId
].model === model ].model === model
? 'outline-gray-200 dark:outline-gray-700 outline-2' ? 'outline-gray-100 dark:outline-gray-700 outline-2'
: 'outline-gray-100 dark:outline-gray-850 '} transition p-5 rounded-3xl" : 'outline-gray-50 dark:outline-gray-850 '} transition p-5 rounded-3xl"
on:click={() => { on:click={() => {
currentMessageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id; currentMessageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
export let items = [{ value: 'mango', label: 'Mango' }]; export let items = [{ value: 'mango', label: 'Mango' }];
export let className = ' w-[30rem]'; export let className = 'w-[30rem]';
let show = false; let show = false;
...@@ -203,7 +203,9 @@ ...@@ -203,7 +203,9 @@
</DropdownMenu.Trigger> </DropdownMenu.Trigger>
<DropdownMenu.Content <DropdownMenu.Content
class=" z-40 {className} max-w-[calc(100vw-1rem)] justify-start rounded-xl bg-white dark:bg-gray-850 dark:text-white shadow-lg border border-gray-300/30 dark:border-gray-700/50 outline-none " class=" z-40 {$mobile
? `w-full`
: `${className}`} max-w-[calc(100vw-1rem)] justify-start rounded-xl bg-white dark:bg-gray-850 dark:text-white shadow-lg border border-gray-300/30 dark:border-gray-700/50 outline-none "
transition={flyAndScale} transition={flyAndScale}
side={$mobile ? 'bottom' : 'bottom-start'} side={$mobile ? 'bottom' : 'bottom-start'}
sideOffset={4} sideOffset={4}
......
...@@ -329,7 +329,6 @@ ...@@ -329,7 +329,6 @@
info: model info: model
}))} }))}
bind:value={selectedModelId} bind:value={selectedModelId}
className="w-[42rem]"
/> />
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment