mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(mobile): add missing mobile date selector and remove focus style from date picker in mobile (#9215)
Close [BS-2169](https://linear.app/affine-design/issue/BS-2169/新的-menu-不支持移动端) ### What changes - add missing date-selector for mobile - remove focus style of date picker for mobile 
This commit is contained in:
@@ -46,18 +46,18 @@ export const focusInteractive = style([
|
||||
basicInteractive,
|
||||
{
|
||||
selectors: {
|
||||
'&::before': {
|
||||
':not([data-mobile="true"]) &::before': {
|
||||
opacity: 0,
|
||||
boxShadow: `0 0 0 2px ${cssVar('brandColor')}`,
|
||||
},
|
||||
'&::after': {
|
||||
':not([data-mobile="true"]) &::after': {
|
||||
border: '1px solid transparent',
|
||||
},
|
||||
|
||||
'&:focus-visible::before': {
|
||||
':not([data-mobile="true"]) &:focus-visible::before': {
|
||||
opacity: 0.5,
|
||||
},
|
||||
'&:focus-visible::after': {
|
||||
':not([data-mobile="true"]) &:focus-visible::after': {
|
||||
borderColor: cssVar('brandColor'),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user