TASK: #110347 处理冲突及样式修改
This commit is contained in:
parent
68101bd96c
commit
fd509c8b81
|
@ -102,4 +102,10 @@ export default css`
|
|||
align-items: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* menubutton */
|
||||
:host(#menuitem) button {
|
||||
font-size: 24px;
|
||||
height: 76px;
|
||||
}
|
||||
`
|
||||
|
|
|
@ -8,6 +8,14 @@ export default css`
|
|||
max-width: 88vw;
|
||||
}
|
||||
|
||||
/* menu ul */
|
||||
:host(#iconmenu) {
|
||||
width: 320px;
|
||||
display: block;
|
||||
margin: 0;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -13,6 +13,9 @@ export class PanelActiveOverlay extends LitElement {
|
|||
public overlayStack = new OverlayStack()
|
||||
|
||||
public test(e: Event) {
|
||||
this.addEventListener('test', () => {
|
||||
this.overlayStack.closeOverlay()
|
||||
})
|
||||
if (this.overlayStack.isOpen == false) {
|
||||
// 获取被点击节点
|
||||
const targetNode = e.target as HTMLElement
|
||||
|
|
Loading…
Reference in New Issue