实现控制弹框位置,格式化代码
This commit is contained in:
parent
261256c4f3
commit
c2e3fe6b0a
|
@ -1,15 +1,15 @@
|
|||
import {css} from 'lit'
|
||||
|
||||
export default css`
|
||||
* {
|
||||
/* * {
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
} */
|
||||
dialog::backdrop {
|
||||
background: green;
|
||||
border:2px solid yellow;
|
||||
}
|
||||
.star-confirm-background {
|
||||
top:0;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
|
|
@ -72,10 +72,9 @@ export default class StarBaseDialog extends StarBaseElement {
|
|||
*/
|
||||
private renderDialog() {
|
||||
return html`
|
||||
<!-- <dialog>
|
||||
<dialog>
|
||||
<main>${this.renderMockDialog()}</main>
|
||||
</dialog> -->
|
||||
${this.renderMockDialog()}
|
||||
</dialog>
|
||||
`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue