Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

Beautify the header style

JimmFly478e3d79d37f
diff --git a/apps/venus/src/app/index.tsx b/apps/venus/src/app/index.tsx
index dea6dc0b7b..42c008138f 100644
--- a/apps/venus/src/app/index.tsx
+++ b/apps/venus/src/app/index.tsx
@@ -204,6 +204,10 @@ const GitHub = (props: { center?: boolean; flat?: boolean }) => {
{...{
sx: {
margin: 'auto 1em',
+ fontSize: '24px',
+ '@media (max-width: 768px)': {
+ fontSize: '16px',
+ },
...(props.flat
? {
padding: matches ? '0' : '0 0.5em',
@@ -256,6 +260,10 @@ export function App() {
sx={{
padding: matches ? '0' : '0 0.5em',
':hover': { backgroundColor: 'unset' },
+ fontSize: '24px',
+ '@media (max-width: 768px)': {
+ fontSize: '16px',
+ },
}}
>
AFFiNE
@@ -276,6 +284,10 @@ export function App() {
sx={{
padding: matches ? '0' : '0 0.5em',
':hover': { backgroundColor: 'unset' },
+ fontSize: '24px',
+ '@media (max-width: 768px)': {
+ fontSize: '16px',
+ },
}}
size="lg"
>