adjust shadow of BottomSheet and Menu
This commit is contained in:
parent
e7410c7296
commit
0267bffe87
4 changed files with 41 additions and 32 deletions
|
@ -7,6 +7,7 @@ import {
|
|||
type ParentComponent,
|
||||
} from "solid-js";
|
||||
import { ANIM_CURVE_STD } from "./theme";
|
||||
import "./Menu.css";
|
||||
|
||||
type Props = {
|
||||
open?: boolean;
|
||||
|
@ -156,17 +157,11 @@ const Menu: ParentComponent<Props> = (props) => {
|
|||
e.stopPropagation();
|
||||
}
|
||||
}}
|
||||
class="Menu"
|
||||
style={{
|
||||
position: "fixed",
|
||||
left: px(anchorPos().left),
|
||||
top: px(anchorPos().top),
|
||||
border: "none",
|
||||
"border-radius": "2px",
|
||||
padding: 0,
|
||||
"max-width": "560px",
|
||||
width: "max-content",
|
||||
/* FIXME: the content may be overflow */
|
||||
"box-shadow": "var(--tutu-shadow-e8)",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue