fix: Hover
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
checkDiagramType: false,
|
checkDiagramType: false,
|
||||||
class: 'text-accent bg-background hover:bg-muted border-b-0',
|
class: 'text-accent border-b-0',
|
||||||
href: $urlsStore.mermaidChart({ medium: 'main_menu' }).home,
|
href: $urlsStore.mermaidChart({ medium: 'main_menu' }).home,
|
||||||
icon: MermaidChartIcon,
|
icon: MermaidChartIcon,
|
||||||
label: 'Mermaid',
|
label: 'Mermaid',
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
href={options.href}
|
href={options.href}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class={cn(
|
class={cn(
|
||||||
'flex items-center justify-start gap-2 border-b-2 p-2 px-3 hover:bg-background',
|
'flex items-center justify-start gap-2 border-b-2 p-2 px-3 hover:bg-muted',
|
||||||
options.isSectionEnd && 'border-border-dark',
|
options.isSectionEnd && 'border-border-dark',
|
||||||
options.class
|
options.class
|
||||||
)}>
|
)}>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
{#snippet darkModeMenuItem(options: MenuItem)}
|
{#snippet darkModeMenuItem(options: MenuItem)}
|
||||||
<div
|
<div
|
||||||
class={cn(
|
class={cn(
|
||||||
'flex cursor-pointer items-center justify-between border-b-2 px-3 py-2 hover:bg-background',
|
'flex cursor-pointer items-center justify-between border-b-2 px-3 py-2 hover:bg-muted',
|
||||||
options.isSectionEnd && 'border-border-dark',
|
options.isSectionEnd && 'border-border-dark',
|
||||||
options.class
|
options.class
|
||||||
)}>
|
)}>
|
||||||
|
|||||||
Reference in New Issue
Block a user