fix(mobile): popover styles (#15351)

This commit is contained in:
DarkSky
2026-07-26 20:09:02 +08:00
committed by GitHub
parent b975e6b562
commit 749f1c5f0b
15 changed files with 799 additions and 557 deletions
@@ -55,6 +55,7 @@ export class EditorMenuButton extends WithDisposable(LitElement) {
},
mainAxis: 0,
offsetHeight: 6 * 4,
topLayer: true,
...this.popperOptions,
});
}
@@ -124,6 +125,14 @@ export class EditorMenuContent extends LitElement {
outline: none;
}
:host([popover]) {
inset: auto;
margin: 0;
border: 0;
background: transparent;
color: inherit;
}
:host([data-show]) {
display: flex;
justify-content: center;