8000 Fix styles to doc search (#1651) · immutable-js/immutable-js@526621c · GitHub
[go: up one dir, main page]

Skip to content

Commit 526621c

Browse files
leebyronalfaslash
andcommitted
Fix styles to doc search (#1651)
Some style fix for PR #1628 Bug: For window size 900px and less Co-authored-by: alfaslash <alfaslash@gmail.com>
1 parent 0101c06 commit 526621c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/styles/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ a.try-it {
365365
border: solid 1px #eee;
366366
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15);
367367
width: 656px;
368+
max-width: calc(100vw - 296px);
368369
position: relative;
369370
left: -16px;
370371
}
@@ -378,6 +379,7 @@ a.try-it {
378379
@media only screen and (max-width: 680px) {
379380
.docSearch {
380381
width: calc(100vw - 40px);
382+
max-width: initial;
381383
}
382384
}
383385

0 commit comments

Comments
 (0)
0