+
{
customDayRenderer={customDayRenderer}
value={date}
onChange={onDateSelect}
+ monthHeaderCellClassName={styles.journalDateCellWrapper}
+ monthBodyCellClassName={styles.journalDateCellWrapper}
/>
diff --git a/packages/frontend/mobile/src/components/app-tabs/home-icon.tsx b/packages/frontend/mobile/src/components/app-tabs/home-icon.tsx
deleted file mode 100644
index d2f1239e89..0000000000
--- a/packages/frontend/mobile/src/components/app-tabs/home-icon.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * TODO(@CatsJuice): replace with `@blocksuite/icons/rc` when ready
- */
-export const HomeIcon = () => {
- return (
-
- );
-};
diff --git a/packages/frontend/mobile/src/components/app-tabs/index.tsx b/packages/frontend/mobile/src/components/app-tabs/index.tsx
index bb93d56e67..552d7e5b1a 100644
--- a/packages/frontend/mobile/src/components/app-tabs/index.tsx
+++ b/packages/frontend/mobile/src/components/app-tabs/index.tsx
@@ -2,11 +2,10 @@ import {
WorkbenchLink,
WorkbenchService,
} from '@affine/core/modules/workbench';
-import { AllDocsIcon, SearchIcon } from '@blocksuite/icons/rc';
+import { AllDocsIcon, MobileHomeIcon, SearchIcon } from '@blocksuite/icons/rc';
import { useLiveData, useService } from '@toeverything/infra';
import type { Location } from 'react-router-dom';
-import { HomeIcon } from './home-icon';
import * as styles from './styles.css';
interface Route {
@@ -19,7 +18,7 @@ interface Route {
const routes: Route[] = [
{
to: '/home',
- Icon: HomeIcon,
+ Icon: MobileHomeIcon,
},
{
to: '/all',
diff --git a/packages/frontend/mobile/src/components/app-tabs/styles.css.ts b/packages/frontend/mobile/src/components/app-tabs/styles.css.ts
index b516800e38..c464b73e8f 100644
--- a/packages/frontend/mobile/src/components/app-tabs/styles.css.ts
+++ b/packages/frontend/mobile/src/components/app-tabs/styles.css.ts
@@ -12,12 +12,13 @@ export const appTabs = style({
borderTop: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
width: '100dvw',
- height: globalVars.appTabHeight,
+ height: `calc(${globalVars.appTabHeight} + 2px)`,
padding: 16,
gap: 15.5,
position: 'fixed',
- bottom: 0,
+ paddingBottom: 18,
+ bottom: -2,
zIndex: 1,
});
export const tabItem = style({
@@ -30,6 +31,7 @@ export const tabItem = style({
padding: 3,
fontSize: 30,
color: cssVarV2('icon/primary'),
+ lineHeight: 0,
selectors: {
'&[data-active="true"]': {
diff --git a/packages/frontend/mobile/src/components/workspace-selector/menu.tsx b/packages/frontend/mobile/src/components/workspace-selector/menu.tsx
index 9006254880..121d770dbd 100644
--- a/packages/frontend/mobile/src/components/workspace-selector/menu.tsx
+++ b/packages/frontend/mobile/src/components/workspace-selector/menu.tsx
@@ -117,6 +117,7 @@ export const SelectorMenu = ({ onClose }: { onClose?: () => void }) => {
title="Cloud Sync"
list={cloudWorkspaces}
/>
+
(