Skip to content

Commit

Permalink
style: update right slider (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme authored Mar 5, 2025
1 parent 8a504e8 commit 389519b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/CodemirrorEditor/RightSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ const formatOptions = ref<Format[]>([`rgb`, `hex`, `hsl`, `hsv`])

<template>
<div
class="overflow-hidden border-l-2 border-gray/20 bg-white transition-width duration-300 dark:bg-[#191c20]"
class="overflow-hidden border-l-2 border-gray/20 bg-white transition-width duration-300 dark:bg-[#191919]"
:class="{
'w-0 border-l-0': !store.isOpenRightSlider,
'w-100': store.isOpenRightSlider,
}"
style="z-index: 999;"
style="z-index: 1;"
>
<div
class="space-y-4 h-full overflow-auto p-4 transition-transform" :class="{
Expand Down Expand Up @@ -125,7 +125,7 @@ const formatOptions = ref<Format[]>([`rgb`, `hex`, `hsl`, `hsv`])
<div>
<Select v-model="store.codeBlockTheme" @update:model-value="store.codeBlockThemeChanged">
<SelectTrigger>
<SelectValue placeholder="Select a fruit" />
<SelectValue placeholder="Select a code block theme" />
</SelectTrigger>
<SelectContent>
<SelectItem v-for="{ label, value } in codeBlockThemeOptions" :key="label" :value="value">
Expand Down

0 comments on commit 389519b

Please sign in to comment.