React18 #23

Merged
DrMint merged 30 commits from react18 into main 2022-05-15 08:21:37 +00:00
Showing only changes of commit f51f7322fe - Show all commits

View File

@ -72,22 +72,11 @@ export default function MainPanel(props: Immutable<Props>): JSX.Element {
disabled={!appLayout.mainPanelReduced}
>
<Button
className={
appLayout.mainPanelReduced && isDesktop
? ""
: "!py-0.5 !px-2.5"
}
onClick={() => {
appLayout.setConfigPanelOpen(true);
}}
>
<span
className={`material-icons ${
!(appLayout.mainPanelReduced && isDesktop) && "!text-sm"
} `}
>
settings
</span>
<span className={"material-icons"}>settings</span>
</Button>
</ToolTip>