fullscreen button icon

This commit is contained in:
2022-11-30 12:36:06 +03:00
parent 89770f2f87
commit 36bbf3a572
3 changed files with 12 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ import { getFeatures } from '@ijl/cli';
import logo from '../assets/logo.svg';
import arrow from '../assets/36-arrow-right.svg';
import fullScreen from '../assets/fullscreen.svg';
import { Keyboard } from '../components/keyboard';
@@ -233,7 +234,11 @@ export const MainPage = () => {
return (
<MainWrapper>
{fullScreenFeature && !isFull && <FullScreenButton onClick={handleFullScreen}>На весь экран</FullScreenButton>}
{fullScreenFeature && !isFull && (
<FullScreenButton onClick={handleFullScreen}>
<img src={fullScreen} />
</FullScreenButton>
)}
<LogoImg src={logo} />
{/* <Start /> */}
{!showStart && <Input onStart={() => setShowStart(true)} />}

View File

@@ -282,10 +282,12 @@ export const Circle = styled.circle<{ circumference: number; percent: number }>`
`;
export const FullScreenButton = styled.button`
padding: 24px;
padding: 12px;
position: absolute;
top: 50px;
right: 50px;
border: none;
background-color: rgba(0, 0, 0, .07);
`;
export const InputHolder = styled.div`