Remove unused parameters from the hamburger menu
This commit is contained in:
parent
4491f53f32
commit
417f4f03a6
@ -4,21 +4,15 @@ import { TempstreamJSX } from "tempstream";
|
||||
|
||||
type Styles = {
|
||||
menu_open: string;
|
||||
menu_closed: string;
|
||||
body_when_open: string;
|
||||
body_when_closed: string;
|
||||
panel_open: string;
|
||||
panel_closed: string;
|
||||
};
|
||||
|
||||
const default_styles: Styles = {
|
||||
menu_open: `opacity: 1; visibility: visible; pointer-events: all; transform: scale(1); transition: opacity 200ms, transform 200ms, visibility 0ms 0ms;`,
|
||||
menu_closed: "",
|
||||
body_when_open: "overflow: hidden;",
|
||||
body_when_closed: "",
|
||||
panel_open:
|
||||
"opacity: 1; transform: translateX(0); visibility: visible; pointer-events: all; transition: opacity 200ms, transform 200ms, visibility 0ms 0ms;",
|
||||
panel_closed: "",
|
||||
};
|
||||
|
||||
export function fullscreenMenu({
|
||||
|
Loading…
x
Reference in New Issue
Block a user