Styles updates for board elements.
Some checks are pending
Node.js CI / build (push) Waiting to run

This commit is contained in:
Mike Cao 2026-02-14 00:20:12 -08:00
parent 15700a6394
commit e52a6b405b
4 changed files with 24 additions and 8 deletions

View file

@ -49,7 +49,7 @@ export function BoardEditBody({ requiresBoardWebsite = true }: { requiresBoardWe
}
};
const handleAddRow = () => {
const handle = () => {
updateBoard({
parameters: produce(board.parameters, draft => {
if (!draft.rows) {
@ -160,14 +160,16 @@ export function BoardEditBody({ requiresBoardWebsite = true }: { requiresBoardWe
))}
{canEdit && (
<Panel minSize={BUTTON_ROW_HEIGHT}>
<Row padding="3">
<Row paddingY="3">
<TooltipTrigger delay={0}>
<Button variant="outline" onPress={handleAddRow}>
<Button variant="outline" onPress={handle}>
<Icon>
<Plus />
</Icon>
</Button>
<Tooltip placement="bottom">Add row</Tooltip>
<Tooltip placement="right" offset={8}>
Add row
</Tooltip>
</TooltipTrigger>
</Row>
</Panel>