Skip to content

Commit

Permalink
fix: 모바일에서 폰트가 변경하지 않는 현상 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
junyeokk committed May 15, 2024
1 parent dbca3a5 commit 385f58e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/SpecialGuestPage.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export const MainContent = styled.div`
margin-top: 20px;
position: relative;
p {
text-shadow: 0px 4px 4px rgba(0, 0, 0, 25%);
text-shadow: 0px 2px 4px rgba(0, 0, 0, 25%);
font-family: "Blinker SemiBold", monospace;
}
`;
export const BackImg = styled.img`
Expand Down
7 changes: 6 additions & 1 deletion src/styles/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ export const GlobalStyle = createGlobalStyle`
@font-face {
font-family: "MesloLGS NF Bold";
src: url("./assets/MesloLGS-NF-Bold.ttf") format("truetype");
src: url("src/assets/MesloLGS-NF-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Blinker SemiBold";
src: url("src/assets/Blinker-SemiBold.ttf") format("truetype");
}
body {
Expand Down

0 comments on commit 385f58e

Please sign in to comment.