fix(core): avoid shaking when renaming doc in title bar (#6847)
- before

- after

This commit is contained in:
@@ -179,8 +179,8 @@ export const InlineEdit = ({
|
|||||||
} as CSSProperties;
|
} as CSSProperties;
|
||||||
const inputInheritsStyles = {
|
const inputInheritsStyles = {
|
||||||
...inputWrapperInheritsStyles,
|
...inputWrapperInheritsStyles,
|
||||||
padding: undefined,
|
padding: 0,
|
||||||
margin: undefined,
|
margin: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ export const title = style({
|
|||||||
selectors: {
|
selectors: {
|
||||||
'&[data-editing="true"]': {
|
'&[data-editing="true"]': {
|
||||||
['WebkitAppRegion' as string]: 'no-drag',
|
['WebkitAppRegion' as string]: 'no-drag',
|
||||||
flexGrow: 1,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user