Skip to content

Commit

Permalink
fix: ensure that category doesn't hide in scroll padding (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
smeijer authored Sep 6, 2024
1 parent 3172d78 commit 8e08182
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/heavy-swans-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@magicbell/magicbell-react': patch
'@magicbell/embeddable': patch
---

make sure that last category in notification preferences can be scrolled to
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export default function PreferencesCategories({
<div
css={css`
flex: 1;
padding: 16px 20px !important;
height: 100%;
overflow-y: auto;
`}
Expand All @@ -75,6 +74,7 @@ export default function PreferencesCategories({
display: grid;
gap: 1em;
grid-template-columns: 2fr ${' 1fr'.repeat(channelHeaders.length).trim()};
padding: 16px 20px !important;
`}
>
<div />
Expand Down

0 comments on commit 8e08182

Please sign in to comment.