fix: mobile background color display issue (#5809)

This commit is contained in:
Katherine 2024-12-09 10:40:48 +08:00 committed by GitHub
parent 779f3480c0
commit 49821eee4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 7 deletions

View File

@ -2,9 +2,7 @@
"version": "1.4.6",
"npmClient": "yarn",
"useWorkspaces": true,
"npmClientArgs": [
"--ignore-engines"
],
"npmClientArgs": ["--ignore-engines"],
"command": {
"version": {
"forcePublish": true,

View File

@ -8,19 +8,20 @@
*/
import { createStyles } from '@nocobase/client';
import { PageBackgroundColor } from '../constants';
export const useStyles = createStyles(({ token, css }) => {
return {
nbMobile: css`
body {
background-color: ${PageBackgroundColor};
}
-webkit-overflow-scrolling: touch;
display: initial;
& ::-webkit-scrollbar {
display: none;
}
.nb-card-list {
background-color: rgb(245, 245, 245);
}
.nb-details .ant-formily-item-feedback-layout-loose {
margin-bottom: 5px;
}