🐛 fix: Fix scrollbar in screenshot of share

pull/477/head
canisminor1990 2023-11-30 00:53:19 +08:00
parent 8f8360c762
commit ffb74dc531
3 changed files with 40 additions and 38 deletions

File diff suppressed because one or more lines are too long

View File

@ -71,12 +71,13 @@
"antd": "^5",
"antd-style": "latest",
"consola": "^3",
"dayjs": "^1",
"i18next": "^23",
"i18next-http-backend": "^2",
"lodash-es": "^4",
"lucide-react": "latest",
"lucide-static": "latest",
"modern-screenshot": "^4.4.34",
"modern-screenshot": "^4",
"polished": "^4",
"react": "^18",
"react-dnd": "^16",

View File

@ -45,9 +45,10 @@ export const useStyles = createStyles(({ css, token, stylish, cx }, withBackgrou
border-radius: ${token.borderRadiusLG}px;
* {
pointer-events: none;
overflow: hidden;
pointer-events: none !important;
overflow: hidden !important;
${stylish.noScrollbar}
::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;