Skip to content

Commit

Permalink
fix/css for grid
Browse files Browse the repository at this point in the history
  • Loading branch information
MUYANGGUO committed Mar 10, 2024
1 parent 45d1623 commit 25b5253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ function App() {
<DynamicBackground theme={theme}></DynamicBackground>
<div className="canvas">
<GlobalStyles />
<div></div>
<Logo isFocusedMode={isFocusedMode} isMusicMode={isMusicMode}></Logo>
{isWordGameMode && (
<TypeBox
Expand Down
8 changes: 4 additions & 4 deletions src/style/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export const GlobalStyles = createGlobalStyle`
.canvas {
align-items: center;
display: grid;
gap: 0.5rem;
gap: 1rem;
grid-auto-flow: row;
grid-template-rows: auto 1fr auto;
height: 100vh;
padding: 1rem;
transition: padding-top .125s;
min-height: 100vh;
width: 100vw;
z-index: 1;
padding: 1rem;
transition: padding-top .125s;
}
.dynamicBackground {
heigh: 100%;
Expand Down

0 comments on commit 25b5253

Please sign in to comment.