Skip to content

Commit

Permalink
fix: [M3-7722] - Adjust EditableText styling to prevent pixel shift (#…
Browse files Browse the repository at this point in the history
…10132)

* Adjust EditableText styling

* Added changeset: EditableText interaction styling
  • Loading branch information
abailly-akamai authored Jan 31, 2024
1 parent ca489da commit dea5d57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10132-fixed-1706715510568.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

EditableText interaction styling ([#10132](https://github.com/linode/manager/pull/10132))
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { makeStyles } from 'tss-react/mui';
import { Button } from 'src/components/Button/Button';
import { ClickAwayListener } from 'src/components/ClickAwayListener';
import { H1Header } from 'src/components/H1Header/H1Header';
import { fadeIn } from 'src/styles/keyframes';

import { TextField, TextFieldProps } from '../TextField';

Expand Down Expand Up @@ -63,7 +62,7 @@ const useStyles = makeStyles<void, 'editIcon' | 'icon'>()(
color: theme.color.grey1,
},
},
border: '1px solid transparent',
borderLeft: '1px solid transparent',
},
input: {
fontFamily: theme.font.bold,
Expand Down Expand Up @@ -92,7 +91,6 @@ const useStyles = makeStyles<void, 'editIcon' | 'icon'>()(
wordBreak: 'break-all',
},
textField: {
animation: `${fadeIn} .3s ease-in-out forwards`,
margin: 0,
},
underlineOnHover: {
Expand Down

0 comments on commit dea5d57

Please sign in to comment.