Skip to content

Commit deea95c

Browse files
docs: fix result box position
1 parent 8e1a898 commit deea95c

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

‎docs/src/assets/scss/components/search.scss‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,11 @@
9494
width: 100%;
9595
border-radius: 0 0 var(--border-radius) var(--border-radius);
9696
border: 1px solid var(--divider-color);
97-
position: relative;
98-
top: -1.5rem;
97+
position: absolute;
98+
top: calc(100% - 1.5rem);
9999
max-height: 400px;
100100
overflow-y: auto;
101-
102-
@media all and (min-width: 1024px) {
103-
box-shadow: var(--shadow-lg);
104-
position: absolute;
105-
top: calc(100% - 1.5rem);
106-
}
101+
box-shadow: var(--shadow-lg);
107102

108103
&[data-results="true"] {
109104
padding: 0;

0 commit comments

Comments
 (0)