TASK: #110347 处理冲突及样式修改

This commit is contained in:
yajun 2022-09-26 15:54:59 +08:00
parent 68101bd96c
commit fd509c8b81
3 changed files with 17 additions and 0 deletions

View File

@ -102,4 +102,10 @@ export default css`
align-items: center;
margin: auto;
}
/* menubutton */
:host(#menuitem) button {
font-size: 24px;
height: 76px;
}
`

View File

@ -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;

View File

@ -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