ui: use screenfull to handle fullscreen, make the button state-aware, disable it when not supported (#99)
This commit is contained in:
parent
0b1d2dabdb
commit
75ecb95e4b
4 changed files with 25 additions and 20 deletions
|
|
@ -44,7 +44,7 @@
|
|||
padding: 8rem;
|
||||
flex: 1 1 auto;
|
||||
flex-shrink:0;
|
||||
|
||||
|
||||
li {
|
||||
display: block;
|
||||
margin-bottom: 8rem;
|
||||
|
|
@ -95,9 +95,10 @@
|
|||
|
||||
&.on {
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
color: var(--color-custom);
|
||||
// background: var(--color-fg);
|
||||
&:not(.fullscreenToggle) {
|
||||
pointer-events: none;
|
||||
}
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue