Skip to content

Commit

Permalink
🐛 - fix: fix minor bugs in Kanban component
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Oct 17, 2024
1 parent 7255c5e commit 08629bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/data/kanban/kanban.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,14 @@ export const Kanban: React.FC<KanbanProps> = ({
<H2>{title}</H2>
</Body>
)}
{toolbarProps && <Toolbar pad={true} sticky="top" {...toolbarProps} />}
{toolbarProps && (
<Toolbar
pad={true}
sticky="top"
variant="transparent"
{...toolbarProps}
/>
)}
<Body className="mykn-kanban__body">
<Grid cols={fieldsetsState.length}>
{fieldsetsState.map((fieldset, index) => (
Expand Down
4 changes: 4 additions & 0 deletions src/components/toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
width: 100%;
}

&--direction-horizontal .mykn-p:has(+ .mykn-p) {
margin-block-end: 0;
}

&--direction-vertical &__spacer {
height: 100%;
}
Expand Down

0 comments on commit 08629bb

Please sign in to comment.