chore: tidy

This commit is contained in:
cha0s 2021-02-12 13:53:39 -06:00
parent bd2a2d7359
commit a49c08a825
3 changed files with 12 additions and 4 deletions

BIN
app/src/assets/arrow-inout.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -40,6 +40,7 @@ const Ui = ({children, width, height}) => {
}}
>
{children}
{/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}
<button
className="fullscreen"
onClick={() => {
@ -48,9 +49,7 @@ const Ui = ({children, width, height}) => {
}
}}
type="button"
>
Fullscreen
</button>
/>
</div>
);
};

View File

@ -10,6 +10,15 @@
user-select: none;
}
button {
.fullscreen {
background-color: transparent;
background-image: url('/arrow-inout.png');
background-size: contain;
border: none;
font-size: 3em;
height: 64px;
position: absolute;
right: 16px;
top: 16px;
width: 64px;
}