Skip to content

Commit

Permalink
Align item tools to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed May 10, 2024
1 parent 8f44155 commit 1a5b41d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/dataviews/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@
}

.dataviews-item-actions {
padding-top: $grid-unit-20;
padding-right: $grid-unit-40;
}

Expand Down
5 changes: 4 additions & 1 deletion packages/dataviews/src/view-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ function ListItem( {
onMouseEnter={ handleMouseEnter }
onMouseLeave={ handleMouseLeave }
>
<HStack className="dataviews-view-list__item-wrapper">
<HStack
className="dataviews-view-list__item-wrapper"
alignment="top"
>
<div role="gridcell">
<CompositeItem
store={ store }
Expand Down

0 comments on commit 1a5b41d

Please sign in to comment.