Не подтверждена Коммит 960b9069 создал по автору CatsJuice's avatar CatsJuice
Просмотр файлов

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

- before
    ![CleanShot 2024-05-09 at 14.42.45.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/5c7b6beb-d24f-49b8-a2c2-f3ab07f4972a.gif)

- after
    ![CleanShot 2024-05-09 at 14.43.57.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/325b68b5-a904-425a-b2c4-5f914237b497.gif)
владелец 291db7d8
...@@ -179,8 +179,8 @@ export const InlineEdit = ({ ...@@ -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({ ...@@ -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,
}, },
}, },
}); });
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать