mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 01:29:31 +08:00
fix(mobile): popover styles (#15351)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user