mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
fix(whiteboard): dev warnings
This commit is contained in:
@@ -35,9 +35,7 @@ export function ColorInput({
|
||||
|
||||
return (
|
||||
<Popover.Root>
|
||||
<Popover.Trigger>
|
||||
<button className="tl-color-drip mx-1">{renderColor(color)}</button>
|
||||
</Popover.Trigger>
|
||||
<Popover.Trigger className="tl-color-drip mx-1">{renderColor(color)}</Popover.Trigger>
|
||||
|
||||
<Popover.Content
|
||||
className="tl-popover-content"
|
||||
@@ -48,6 +46,7 @@ export function ColorInput({
|
||||
<div className={'tl-color-palette'}>
|
||||
{Object.values(Color).map(value => (
|
||||
<button
|
||||
key={value}
|
||||
className={`tl-color-drip m-1${value === color ? ' active' : ''}`}
|
||||
onClick={() => setColor(value)}
|
||||
>
|
||||
|
||||
@@ -235,7 +235,7 @@ html[data-theme='light'] {
|
||||
}
|
||||
|
||||
.tl-statusbar {
|
||||
@apply absolute flex items-center w-full bottom-0;
|
||||
@apply fixed flex items-center w-full bottom-0;
|
||||
|
||||
font-family: monospace;
|
||||
font-size: 10px;
|
||||
|
||||
Reference in New Issue
Block a user