Skip to content

Commit 69b6a0e

Browse files
committed
Fix placement and color of search box on desktop and mobile
1 parent 3becec2 commit 69b6a0e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
* Added spacing on byline of dataset page
5353
* Moved homepage config from S3 to local
5454
* Made data quality rating use stars across search results and quality page, and made both use quality aspect.
55+
* Fix placement and color of search box on desktop and mobile
5556

5657
## 0.0.37
5758

magda-web-client/src/Components/Search/SearchBox.scss

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
.searchBox-switcher {
1818
&.none-home {
19+
@media (min-width: $medium) {
20+
background: rgba(245, 245, 245, 0.8);
21+
}
1922
.searchBox {
2023
background-color: transparent;
2124
}
@@ -68,6 +71,9 @@
6871
right: 0;
6972
padding: 11px;
7073
bottom: 0;
74+
@media (min-width: $medium) {
75+
bottom: 7px;
76+
}
7177
border: 2px solid transparent;
7278
box-sizing: border-box;
7379
display: inline-block;

0 commit comments

Comments
 (0)