Skip to content

Commit

Permalink
fix(theme-classic): various fixes (#546)
Browse files Browse the repository at this point in the history
* fix(theme-classic): vertically center items

* fix(classic-theme): extend bottom gradient to span full width

* fix(theme-classic): fix gradient on Safari
  • Loading branch information
sarahdayan authored Apr 26, 2021
1 parent 999e5b2 commit 6b4bc12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/autocomplete-theme-classic/src/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ body {
align-items: center;
border-radius: 3px;
cursor: pointer;
display: grid;
min-height: calc(var(--aa-spacing) * 2.5);
padding: calc(var(--aa-spacing-half) / 2);
// When the result is active
Expand Down Expand Up @@ -965,7 +966,7 @@ body {
left: 0;
pointer-events: none;
position: absolute;
right: var(--aa-scrollbar-width);
right: 0;
z-index: var(--aa-base-z-index);
}

Expand All @@ -982,6 +983,8 @@ body {
rgba(var(--aa-background-color-rgb), 0),
rgba(var(--aa-background-color-rgb), 1)
);
border-bottom-left-radius: calc(var(--aa-spacing) / 4);
border-bottom-right-radius: calc(var(--aa-spacing) / 4);
bottom: 0;
}

Expand Down

0 comments on commit 6b4bc12

Please sign in to comment.