Skip to content

Commit

Permalink
Merge pull request #61 from KNU-Design-Web/fix#60
Browse files Browse the repository at this point in the history
Fix#60 어바웃 페이지 그리드 크게 표시되는 현상 수정
  • Loading branch information
toothlessdev authored Oct 28, 2024
2 parents d4e4d88 + cd52704 commit 97cd132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/components/Grid/Grid.style.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import styled from "@emotion/styled";

export const GridContainer = styled.div<{ rows: number; cols: number }>`
position: absolute;
position: sticky;
z-index: -1;
inset: 0;
width: 100%;
height: 100vh;
display: grid;
grid-template-rows: repeat(${(props) => props.rows}, 1fr);
Expand Down

0 comments on commit 97cd132

Please sign in to comment.