mirror of https://github.com/logseq/logseq
fix select input styles
parent
6371e900cc
commit
ada4c0e48c
|
@ -39,8 +39,8 @@ export function SelectInput({
|
|||
onValueChange={onValueChange}
|
||||
>
|
||||
<Tooltip content={tooltip} side={popoverSide}>
|
||||
<LSUI.SelectTrigger
|
||||
className={`h-8 font-medium bg-transparent ${compact ? "px-0 justify-center" : "px-2"}`}>
|
||||
<LSUI.SelectTrigger
|
||||
className={`tl-select-trigger ${compact ? "compact" : ""}`}>
|
||||
<LSUI.SelectValue />
|
||||
{!compact && (
|
||||
<LSUI.SelectIcon asChild>
|
||||
|
|
|
@ -290,6 +290,16 @@ html[data-theme='light'] {
|
|||
}
|
||||
}
|
||||
|
||||
.tl-select-trigger {
|
||||
@apply h-8 font-medium bg-transparent px-2;
|
||||
|
||||
border: 1px solid var(--ls-secondary-border-color);
|
||||
|
||||
&.compact {
|
||||
@apply px-0 justify-center text-xs;
|
||||
}
|
||||
}
|
||||
|
||||
.tl-primary-tools {
|
||||
@apply absolute h-full top-0 flex items-center justify-center;
|
||||
|
||||
|
|
Loading…
Reference in New Issue