Skip to content

Commit d5a22c5

Browse files
docs(js): remove unset CSS comments
We won't support IE.
1 parent bb1af17 commit d5a22c5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/autocomplete-js/src/getPanelPositionStyle.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export function getPanelPositionStyle({
3939
top,
4040
left: 0,
4141
right: 0,
42-
// @TODO [IE support] IE doesn't support `"unset"`
43-
// See https://caniuse.com/#feat=css-unset-value
4442
width: 'unset',
4543
maxWidth: 'unset',
4644
};
@@ -55,8 +53,6 @@ export function getPanelPositionStyle({
5553
right:
5654
environment.document.documentElement.clientWidth -
5755
(formRect.left + formRect.width),
58-
// @TODO [IE support] IE doesn't support `"unset"`
59-
// See https://caniuse.com/#feat=css-unset-value
6056
width: 'unset',
6157
maxWidth: 'unset',
6258
};

0 commit comments

Comments
 (0)