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.

fix: show border around pagetitle when renaming (#4080)

KaranPantb18596fc575f
diff --git a/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts b/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts
index abbcfb5a7d..f59ac8413b 100644
--- a/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts
+++ b/apps/core/src/components/blocksuite/block-suite-header-title/styles.css.ts
@@ -25,6 +25,15 @@ export const titleInput = style({
margin: 'auto',
width: '100%',
height: '100%',
+
+ selectors: {
+ '&:focus': {
+ border: '1px solid var(--affine-black-10)',
+ borderRadius: '8px',
+ height: '32px',
+ padding: '6px 8px',
+ },
+ },
});
export const shadowTitle = style({
visibility: 'hidden',