Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite0cf53f

Browse files
docs: fix search result box position for small screens (#19328)
docs: fix result box position
1 parentf92a680 commite0cf53f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

‎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:00var(--border-radius)var(--border-radius);
9696
border:1pxsolidvar(--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-
@mediaalland (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)

[8]ページ先頭

©2009-2025 Movatter.jp