mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 14:08:55 +08:00
Merge branch 'feat/filesystem_and_search' of github.com:toeverything/AFFiNE into feat/filesystem_and_search
This commit is contained in:
@@ -59,7 +59,6 @@ export const StyledListItem = styled.button<{
|
|||||||
...(disabled
|
...(disabled
|
||||||
? {
|
? {
|
||||||
cursor: 'not-allowed',
|
cursor: 'not-allowed',
|
||||||
pointerEvent: 'none',
|
|
||||||
color: theme.colors.borderColor,
|
color: theme.colors.borderColor,
|
||||||
}
|
}
|
||||||
: {}),
|
: {}),
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export const StyledIconButton = styled('button', {
|
|||||||
color: theme.colors.iconColor,
|
color: theme.colors.iconColor,
|
||||||
...displayInlineFlex('center', 'center'),
|
...displayInlineFlex('center', 'center'),
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
...(disabled ? { cursor: 'not-allowed', pointerEvent: 'none' } : {}),
|
...(disabled ? { cursor: 'not-allowed', pointerEvents: 'none' } : {}),
|
||||||
transition: 'background .15s',
|
transition: 'background .15s',
|
||||||
|
|
||||||
// TODO: we need to add @emotion/babel-plugin
|
// TODO: we need to add @emotion/babel-plugin
|
||||||
@@ -123,7 +123,7 @@ export const StyledTextButton = styled('button', {
|
|||||||
paddingRight: padding,
|
paddingRight: padding,
|
||||||
...displayInlineFlex('flex-start', 'center'),
|
...displayInlineFlex('flex-start', 'center'),
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
...(disabled ? { cursor: 'not-allowed', pointerEvent: 'none' } : {}),
|
...(disabled ? { cursor: 'not-allowed', pointerEvents: 'none' } : {}),
|
||||||
transition: 'background .15s',
|
transition: 'background .15s',
|
||||||
// TODO: Implement circle shape
|
// TODO: Implement circle shape
|
||||||
borderRadius: shape === 'default' ? borderRadius : height / 2,
|
borderRadius: shape === 'default' ? borderRadius : height / 2,
|
||||||
@@ -182,7 +182,7 @@ export const StyledButton = styled('button', {
|
|||||||
...(disabled
|
...(disabled
|
||||||
? {
|
? {
|
||||||
cursor: 'not-allowed',
|
cursor: 'not-allowed',
|
||||||
pointerEvent: 'none',
|
pointerEvents: 'none',
|
||||||
color: theme.colors.borderColor,
|
color: theme.colors.borderColor,
|
||||||
}
|
}
|
||||||
: {}),
|
: {}),
|
||||||
|
|||||||
Reference in New Issue
Block a user