Skip to content

Commit

Permalink
quickfix for LinkButton/ToolbarButton icon in safari (#6357)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianWielga authored and Łukasz Bigorajski committed Jul 10, 2024
1 parent ebee0b7 commit 2ee9d70
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ import { styled } from "@mui/material";
import { PANEL_BUTTON_SIZE } from "../../../stylesheets/variables";

export const Icon = styled("div")({
flex: 1,
lineHeight: 0,
display: "flex",
flexDirection: "column",
width: PANEL_BUTTON_SIZE / 2,
// TODO: flatten nested usages
"&, &>*": {
flex: 1,
lineHeight: 0,
display: "flex",
flexDirection: "column",
width: PANEL_BUTTON_SIZE / 2,
},
});

export const ToolbarButtonWrapper = styled("div")(() => ({
Expand Down

0 comments on commit 2ee9d70

Please sign in to comment.