mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-13 18:50:29 +03:00
Slate style has certain behavior elements that iOS expects
This commit is contained in:
parent
e6f4eeca8e
commit
46d7a9c0bf
1 changed files with 9 additions and 9 deletions
|
|
@ -41,21 +41,21 @@ export const EditorTextarea = style([
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
export const EditorPlaceholder = style([
|
export const EditorPlaceholderContainer = style([
|
||||||
DefaultReset,
|
DefaultReset,
|
||||||
{
|
{
|
||||||
position: 'absolute',
|
|
||||||
zIndex: 1,
|
|
||||||
width: '100%',
|
|
||||||
opacity: config.opacity.Placeholder,
|
opacity: config.opacity.Placeholder,
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
||||||
selectors: {
|
export const EditorPlaceholderTextVisual = style([
|
||||||
'&:not(:first-child)': {
|
DefaultReset,
|
||||||
display: 'none',
|
{
|
||||||
},
|
display: 'block',
|
||||||
},
|
paddingTop: toRem(13),
|
||||||
|
paddingLeft: toRem(1),
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue