Skip to content

Commit 216130a

Browse files
committed
fix(dropdowns.next): active listbox option and menu item styling
1 parent d0bae72 commit 216130a

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

Diff for: packages/dropdowns.next/.size-snapshot.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"index.cjs.js": {
3-
"bundled": 73611,
4-
"minified": 52290,
5-
"gzipped": 11445
3+
"bundled": 73561,
4+
"minified": 52252,
5+
"gzipped": 11436
66
},
77
"index.esm.js": {
8-
"bundled": 67519,
9-
"minified": 46452,
10-
"gzipped": 10808,
8+
"bundled": 67469,
9+
"minified": 46414,
10+
"gzipped": 10798,
1111
"treeshaked": {
1212
"rollup": {
13-
"code": 36514,
13+
"code": 36476,
1414
"import_statements": 1174
1515
},
1616
"webpack": {
17-
"code": 40219
17+
"code": 40181
1818
}
1919
}
2020
}

Diff for: packages/dropdowns.next/src/views/combobox/StyledOption.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ const colorStyles = (props: IStyledOptionProps) => {
2626
const hue = props.$type === 'danger' ? 'dangerHue' : 'primaryHue';
2727

2828
backgroundColor = getColor(hue, 600, props.theme, 0.08);
29-
boxShadow = `inset ${
30-
props.theme.rtl ? `-${props.theme.borderWidths.md}` : props.theme.borderWidths.md
31-
} 0 ${getColor(hue, 600, props.theme)}`;
29+
boxShadow = `inset 0 0 0 ${props.theme.borderWidths.sm} ${getColor(hue, 600, props.theme)}`;
3230
}
3331

3432
const disabledForegroundColor = getColor('neutralHue', 400, props.theme);

0 commit comments

Comments
 (0)