Skip to content

Commit

Permalink
fix(styles): dropdown icons in a table are misaligned
Browse files Browse the repository at this point in the history
  • Loading branch information
imagoiq committed Jan 15, 2024
1 parent 303b34e commit b6d5226
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-olives-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed alignment of icon within button inside datatable.
2 changes: 2 additions & 0 deletions packages/styles/src/components/datatable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
}

.datatable-button {
display: flex;
align-items: center;
@include button-mixins.reset-button;
width: datatable.$datatable-button-width;
height: datatable.$datatable-button-height;
Expand Down

0 comments on commit b6d5226

Please sign in to comment.