Skip to content

Commit

Permalink
Adapt size of arrow in Select and Autocomplete fields (#2869)
Browse files Browse the repository at this point in the history
Change the size of the arrow icon in `Select` and `Autocomplete` fields from 16px to 12px according to the Comet DXP design.

Co-authored-by: Julia Wegmayr <julia.wegmayr@vivid-planet.com>
Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 632f5d3 commit 71876ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-kings-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@comet/admin-theme": patch
---

Adapt size of arrow in `Select` and `Autocomplete` fields according to Comet DXP design
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export const getMuiAutocomplete: GetMuiComponentTheme<"MuiAutocomplete"> = (comp
"&:hover": {
backgroundColor: "transparent",
},
"& .MuiSvgIcon-root": {
fontSize: "12px",
},
},
}),
});
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ export const commonSelectStyleOverrides = {
export const getCommonIconStyleOverrides = (palette: Palette) => ({
right: 10,
color: palette.grey[900],
fontSize: 12,
});

0 comments on commit 71876ea

Please sign in to comment.