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(core): adjust copy link button styles (#10337)

JimmFly785951bbfa03
diff --git a/packages/frontend/core/src/modules/share-menu/view/share-menu/copy-link-button.css.ts b/packages/frontend/core/src/modules/share-menu/view/share-menu/copy-link-button.css.ts
index 7df0fe3601..209cdc4805 100644
--- a/packages/frontend/core/src/modules/share-menu/view/share-menu/copy-link-button.css.ts
+++ b/packages/frontend/core/src/modules/share-menu/view/share-menu/copy-link-button.css.ts
@@ -6,7 +6,6 @@ export const copyLinkContainerStyle = style({
alignItems: 'center',
width: '100%',
position: 'relative',
- border: `1px solid ${cssVarV2('layer/insideBorder/blackBorder')}`,
selectors: {
'&.secondary': {
padding: 0,
@@ -17,6 +16,7 @@ export const copyLinkContainerStyle = style({
export const copyLinkButtonStyle = style({
flex: 1,
padding: '4px 12px',
+ height: '30px',
paddingRight: '6px',
borderRadius: '4px',
borderRight: 'none',
@@ -73,6 +73,7 @@ export const copyLinkShortcutStyle = style({
export const copyLinkTriggerStyle = style({
padding: '4px 12px 4px 8px',
borderRadius: '4px',
+ height: '30px',
borderLeft: 'none',
borderTopLeftRadius: '0',
borderBottomLeftRadius: '0',