(fix) compile error
This commit is contained in:
parent
069d00ffe0
commit
d17331274f
|
@ -1,4 +1,4 @@
|
|||
import {html, css} from 'lit'
|
||||
import {html, css, CSSResultArray} from 'lit'
|
||||
import {customElement} from 'lit/decorators.js'
|
||||
import GestureDector from '../../lib/gesture/gesture-detector'
|
||||
import {StarBaseElement} from '../base/star-base-element'
|
||||
|
@ -63,22 +63,26 @@ export class HomeBarIndicator extends StarBaseElement {
|
|||
return html``
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
:host {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: yellow;
|
||||
user-select: none;
|
||||
}
|
||||
a {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: yellow;
|
||||
}
|
||||
`
|
||||
public static override get styles(): CSSResultArray {
|
||||
return [
|
||||
css`
|
||||
:host {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: yellow;
|
||||
user-select: none;
|
||||
}
|
||||
a {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: yellow;
|
||||
}
|
||||
`,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
|
Loading…
Reference in New Issue