chore: tidy
This commit is contained in:
parent
bd2a2d7359
commit
a49c08a825
BIN
app/src/assets/arrow-inout.png
Executable file
BIN
app/src/assets/arrow-inout.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user