Skip to content

Commit 6b4bc12

Browse files
authored
fix(theme-classic): various fixes (#546)
* fix(theme-classic): vertically center items * fix(classic-theme): extend bottom gradient to span full width * fix(theme-classic): fix gradient on Safari
1 parent 999e5b2 commit 6b4bc12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/autocomplete-theme-classic/src/theme.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ body {
503503
align-items: center;
504504
border-radius: 3px;
505505
cursor: pointer;
506+
display: grid;
506507
min-height: calc(var(--aa-spacing) * 2.5);
507508
padding: calc(var(--aa-spacing-half) / 2);
508509
// When the result is active
@@ -965,7 +966,7 @@ body {
965966
left: 0;
966967
pointer-events: none;
967968
position: absolute;
968-
right: var(--aa-scrollbar-width);
969+
right: 0;
969970
z-index: var(--aa-base-z-index);
970971
}
971972

@@ -982,6 +983,8 @@ body {
982983
rgba(var(--aa-background-color-rgb), 0),
983984
rgba(var(--aa-background-color-rgb), 1)
984985
);
986+
border-bottom-left-radius: calc(var(--aa-spacing) / 4);
987+
border-bottom-right-radius: calc(var(--aa-spacing) / 4);
985988
bottom: 0;
986989
}
987990

0 commit comments

Comments
 (0)