Skip to content

Commit

Permalink
Fix CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Dec 2, 2024
1 parent 4f6a11d commit e95668c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/windows/main/components/settings/panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
{/if}
<!-- Disable the widget if the button it is linked to is disabled -->
<div
class={`flex items-center w-full duration-200 ${isToggled(category, widget, widget.toggleable ? settings[category.id][widget.toggleable.id] : null) ? '' : 'cursor-not-allowed opacity-30 select-one group'}`}
class={`flex items-center w-full duration-200 ${isToggled(category, widget, widget.toggleable ? settings[category.id][widget.toggleable.id] : null) ? '' : 'cursor-not-allowed opacity-30 select-one group pointer-events-none'}`}
>
<!-- Description of the widget (except button) -->
{#if widget.options.type !== 'button'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<Tooltip.Trigger>
<Input
bind:value
class={`dark:bg-neutral-900 bg-neutral-300 text-center border-none w-[250px] font-sans mr-4 transition duration-150 ${doWarnAnimation ? 'animate-shake ring-red-900' : ''}`}
class={`text-foreground text-center border-none w-[250px] font-sans mr-4 transition duration-150 ${doWarnAnimation ? 'animate-shake ring-red-900' : ''}`}
{placeholder}
on:keypress={handleKeypress}
on:change={handleInput}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
</script>

<Select.Root {items} selected={defaultItem} onSelectedChange={handleSelect}>
<Select.Trigger class="w-[180px] dark:bg-neutral-900 bg-neutral-300 ml-auto mr-4 border-none">
<Select.Value class="text-black dark:text-white" />
<Select.Trigger class="w-[180px] dark:bg-neutral-900 bg-neutral-300 ml-auto mr-4 border-none text-left">
<Select.Value class="text-foreground" />
</Select.Trigger>
<Select.Content class="bg-popover border-none dark:text-white text-black">
<Select.Content class="bg-popover border-none text-foreground">
<Select.Group>
{#each items || [] as item (item.value)}
<Select.Item value={item} label={item.label}>{item.label}</Select.Item>
Expand Down

0 comments on commit e95668c

Please sign in to comment.