Skip to content

Commit

Permalink
Apply global font-family settings to Radix-originated toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshinotsuyoshi committed Dec 20, 2024
1 parent 9065d33 commit 40d7278
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@
box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35), 0px 10px 20px -15px
rgba(22, 23, 24, 0.2);
}

/* https://github.com/radix-ui/primitives/issues/2908 */
:global([data-radix-popper-content-wrapper]) {
font-family: var(--main-font);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/* NOTE: workaround for that drawer with modal={false} does not work */
/* ref: https://github.com/emilkowalski/vaul/issues/492 */
pointer-events: all;

font-family: var(--main-font);
}

.mainWrapper {
Expand Down

0 comments on commit 40d7278

Please sign in to comment.