Skip to content

Commit

Permalink
fix(react): remove hardcoded values in chip and autocomplete.
Browse files Browse the repository at this point in the history
chore(react): fix es lint issue
  • Loading branch information
Achintha Isuru committed Nov 21, 2023
1 parent 58f73ec commit 08859ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 8 additions & 3 deletions packages/react/src/components/Autocomplete/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@
*/

.oxygen-autocomplete {
padding-top: 14px;
padding-bottom: 14px;

.MuiButtonBase-root {
font-size: 0.8125rem;
}

.MuiChip-sizeSmall {
height: 24px;
}

.MuiChip-sizeMedium {
height: 32px;
}
}
3 changes: 0 additions & 3 deletions packages/react/src/components/Chip/chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
*/

.oxygen-chip {
font-size: 0.8571rem !important;
padding: 7px 3px !important;

&-premium {
background: var(--oxygen-customComponents-Chip-properties-premium-background);
color: var(--oxygen-customComponents-Chip-properties-premium-text-color);
Expand Down

0 comments on commit 08859ce

Please sign in to comment.