Skip to content

Commit

Permalink
Update styling for contentBefore and contentAfter input slots (#26115)
Browse files Browse the repository at this point in the history
* Update styling for contentBefore and contentAfter input slots

* change files

* Update styling
  • Loading branch information
tomi-msft authored Jan 10, 2023
1 parent 25e3d5b commit a98c062
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: Update contentBefore and contentAfter slot styling for svg",
"packageName": "@fluentui/react-input",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ const useContentStyles = makeStyles({
base: {
boxSizing: 'border-box',
color: tokens.colorNeutralForeground3, // "icon color" in design spec
display: 'flex',
// special case styling for icons (most common case) to ensure they're centered vertically
'> svg': { display: 'block' },
},
disabled: {
color: tokens.colorNeutralForegroundDisabled,
Expand Down

0 comments on commit a98c062

Please sign in to comment.