Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 2cc0e46

Browse files
committed
hiding the pattern search on smaller screens
1 parent c0e8a42 commit 2cc0e46

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

public/styleguide/css/styleguide.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,16 @@
281281
border: 0;
282282
border-left: 1px solid rgba(255, 255, 255, 0.05); } }
283283

284+
.sg-find {
285+
display: none;
286+
}
287+
288+
@media all and (min-width: 48em) {
289+
.sg-find {
290+
display: block;
291+
}
292+
}
293+
284294
#sg-form {
285295
margin: 0;
286296
border: 0;

public/styleguide/css/styleguide.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,16 @@ $animate-quick: 0.2s;
413413
}
414414
}
415415

416+
.sg-find {
417+
display: none;
418+
}
419+
420+
@media all and (min-width: $sg-bp-med) {
421+
.sg-find {
422+
display: block;
423+
}
424+
}
425+
416426
#sg-form {
417427
margin: 0;
418428
border: 0;

0 commit comments

Comments
 (0)