Skip to content

Commit

Permalink
fix(whiteboard): dev warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 authored and tiensonqin committed Nov 14, 2022
1 parent d94e649 commit 2e4947a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Expand Up @@ -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"
Expand All @@ -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)}
>
Expand Down
2 changes: 1 addition & 1 deletion tldraw/apps/tldraw-logseq/src/styles.css
Expand Up @@ -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;
Expand Down

0 comments on commit 2e4947a

Please sign in to comment.