mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
Fix modal not visible on map planner mobile
position: fixed breaks Radix popover location calculation. Only relevant for desktop anyway (there we have it on the right side of the screen).
This commit is contained in:
@@ -334,7 +334,7 @@ export default function Planner() {
|
||||
// Formats the style panel so it can have classnames, this is needed so it can be moved below the header bar which blocks clicks (idk why this is different to the old version)
|
||||
function CustomStylePanel(props: TLUiStylePanelProps) {
|
||||
return (
|
||||
<div className={styles.stylePanel}>
|
||||
<div className={props.isMobile ? undefined : styles.stylePanel}>
|
||||
<DefaultStylePanel {...props} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user