Skip to content

Commit

Permalink
[mantine/tiptap] set align-items to center for toolbar
Browse files Browse the repository at this point in the history
In mantine v6, by default Toolbar will render into a `<Group>` component and the `align-items` value is `center` by default. V7 breaks this behavior.
  • Loading branch information
xiaohanyu authored Mar 27, 2024
1 parent 49189fc commit ae2b7fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@mantine/tiptap/src/RichTextEditor.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@

.toolbar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--mantine-spacing-sm);
top: var(--rte-sticky-offset, 0);
Expand Down

0 comments on commit ae2b7fd

Please sign in to comment.