mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-23 01:07:12 +08:00
chore: adjust general access button styles (#12718)
close AF-2685 When the button is disabled, the frontmost icon is not positioned correctly. This commit is to fix the icon position.  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Improved the layout of the share menu trigger text by aligning its content vertically and adding spacing between elements for a cleaner appearance. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -21,6 +21,9 @@ export const menuTriggerStyle = style({
|
|||||||
});
|
});
|
||||||
export const menuTriggerText = style({
|
export const menuTriggerText = style({
|
||||||
margin: '0px 4px',
|
margin: '0px 4px',
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
gap: '4px',
|
||||||
});
|
});
|
||||||
export const suffixClassName = style({
|
export const suffixClassName = style({
|
||||||
width: '20px',
|
width: '20px',
|
||||||
|
|||||||
Reference in New Issue
Block a user