mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-24 04:27:27 +08:00
feat(core): adjust notification button style (#11425)
This commit is contained in:
@@ -14,7 +14,7 @@ export const root = style({
|
|||||||
minHeight: '30px',
|
minHeight: '30px',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
padding: '0 12px',
|
padding: '0 2px 0 12px',
|
||||||
fontSize: cssVar('fontSm'),
|
fontSize: cssVar('fontSm'),
|
||||||
marginTop: '4px',
|
marginTop: '4px',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
@@ -41,10 +41,10 @@ export const root = style({
|
|||||||
paddingRight: '4px',
|
paddingRight: '4px',
|
||||||
},
|
},
|
||||||
'&[data-collapsible="false"]:is([data-active="true"], :hover)': {
|
'&[data-collapsible="false"]:is([data-active="true"], :hover)': {
|
||||||
width: 'calc(100% + 8px)',
|
width: 'calc(100% + 8px + 8px)',
|
||||||
transform: 'translateX(-8px)',
|
transform: 'translateX(-8px)',
|
||||||
paddingLeft: '20px',
|
paddingLeft: '20px',
|
||||||
paddingRight: '12px',
|
paddingRight: '10px',
|
||||||
},
|
},
|
||||||
[`${linkItemRoot}:first-of-type &`]: {
|
[`${linkItemRoot}:first-of-type &`]: {
|
||||||
marginTop: '0px',
|
marginTop: '0px',
|
||||||
|
|||||||
Reference in New Issue
Block a user