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: keyboard shortcut style in cmdk (#5882)

Peng Xiaobef72029a00e
diff --git a/packages/frontend/core/src/components/pure/cmdk/main.css.ts b/packages/frontend/core/src/components/pure/cmdk/main.css.ts
index 493168f6d7..dba5e9c59a 100644
--- a/packages/frontend/core/src/components/pure/cmdk/main.css.ts
+++ b/packages/frontend/core/src/components/pure/cmdk/main.css.ts
@@ -90,8 +90,9 @@ export const keybindingFragment = style({
borderRadius: 4,
color: cssVar('textSecondaryColor'),
backgroundColor: cssVar('backgroundTertiaryColor'),
- width: 24,
+ minWidth: 24,
height: 20,
+ textTransform: 'uppercase',
});
globalStyle(`${root} [cmdk-root]`, {
height: '100%',