Skip to content

Commit

Permalink
style: ios 사용자 꾹 누르더라도 webview 같이 나타나지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ww8007 committed Aug 9, 2023
1 parent 461dea9 commit d3c6df7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/styles/GlobalStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const GlobalStyle = () => (
width: 0;
display: none !important;
}
-webkit-touch-callout: none;
}
html,
body,
Expand Down Expand Up @@ -109,6 +110,16 @@ const GlobalStyle = () => (
vertical-align: baseline;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
user-drag: none;
}
html {
background-color: ${theme.colors.black};
Expand Down Expand Up @@ -152,6 +163,30 @@ const GlobalStyle = () => (
color: inherit;
-webkit-tap-highlight-color: transparent;
}
a {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
user-drag: none;
}
img {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
user-drag: none;
}
@font-face {
font-family: 'NanumSquareRoundB';
src: url('/fonts/NanumSquareRoundB.woff2') format('woff2'),
Expand Down

1 comment on commit d3c6df7

@vercel
Copy link

@vercel vercel bot commented on d3c6df7 Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.