Skip to content

Commit

Permalink
Merge pull request #144 from unicef/fix/USelectPicker-height-to-match…
Browse files Browse the repository at this point in the history
…-text-fields

PR to change height for dark variant of USelectPicker
  • Loading branch information
dfrancisc authored Jan 6, 2024
2 parents 061ddfb + f232b75 commit 9cdf9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unicef/material-ui",
"version": "0.11.7",
"version": "0.11.8",
"description": "UNICEF theme and components of material-ui for react",
"main": "index.js",
"files": [
Expand Down
1 change: 1 addition & 0 deletions src/components/USelectPicker/USelectPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export default function USelectPicker(props) {
const selectStyles = {
input: base => ({
...base,
height: iconVariant === ICON_VARIANTS.dark ? theme.spacing(4) : 'inherit', // if dark variant, then match height with material ui controls
color: theme.palette.text.primary,
'& input': {
font: 'inherit',
Expand Down

0 comments on commit 9cdf9b7

Please sign in to comment.