Skip to content

Commit

Permalink
feat(css): increase aa-TouchOnly specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Feb 10, 2021
1 parent 954fdda commit 18453bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/autocomplete-theme-classic/src/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ body {
}

.aa-TouchOverlay {
//backdrop-filter: blur(16px);
background: var(--aa-background-color);
bottom: 0;
left: 0;
Expand Down Expand Up @@ -506,7 +505,7 @@ body {
}
.aa-Panel {
background-color: var(--aa-background-color);
height: calc(100vh); // todo: compute with js
height: 100vh; // TODO: compute with js
left: var(--aa-spacing-half);
overflow-y: auto;
padding-bottom: var(--aa-spacing);
Expand Down Expand Up @@ -540,6 +539,6 @@ body {

@media (hover: none) and (pointer: coarse) {
.aa-TouchOnly {
display: none;
display: none !important; // TODO: fix specificity issue
}
}

0 comments on commit 18453bb

Please sign in to comment.