Skip to content

Commit

Permalink
[ui] fix injectCss having a lower specificity than Discord's stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
ioj4 committed Oct 26, 2023
1 parent ec29e23 commit effba92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shelter-ui/src/util.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const cleanupCss = () => {

export const injectCss = (css: string) => {
const e = (<style>{css}</style>) as HTMLStyleElement;
document.head.append(e);
document.body.append(e);
injectedStyles.push(e);

return (css?: string) => {
Expand Down

0 comments on commit effba92

Please sign in to comment.