mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
@@ -66,7 +66,7 @@ export const tab = style({
|
|||||||
boxShadow: cssVar('shadow1'),
|
boxShadow: cssVar('shadow1'),
|
||||||
},
|
},
|
||||||
'&[data-pinned="false"]': {
|
'&[data-pinned="false"]': {
|
||||||
paddingRight: 20,
|
paddingRight: 8,
|
||||||
},
|
},
|
||||||
'&[data-pinned="true"]': {
|
'&[data-pinned="true"]': {
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
@@ -84,6 +84,9 @@ export const splitViewLabel = style({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
maxWidth: 180,
|
maxWidth: 180,
|
||||||
cursor: 'default',
|
cursor: 'default',
|
||||||
|
':last-of-type': {
|
||||||
|
paddingRight: 0,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export const splitViewLabelText = style({
|
export const splitViewLabelText = style({
|
||||||
@@ -121,7 +124,7 @@ export const labelIcon = style([
|
|||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
selectors: {
|
selectors: {
|
||||||
[`${tab}[data-active=true] &`]: {
|
[`${splitViewLabel}[data-active=true] &`]: {
|
||||||
color: cssVar('primaryColor'),
|
color: cssVar('primaryColor'),
|
||||||
},
|
},
|
||||||
[`${splitViewLabel}[data-active=false]:hover &`]: {
|
[`${splitViewLabel}[data-active=false]:hover &`]: {
|
||||||
|
|||||||
Reference in New Issue
Block a user