Skip to content
Snippets Groups Projects

reduce maxlength according to screen size

Files
4
+ 7
0
@@ -639,6 +639,7 @@
@@ -639,6 +639,7 @@
.search__search-bar {
.search__search-bar {
position: relative;
position: relative;
 
max-width: 80ch;
height: 50px;
height: 50px;
cursor: pointer;
cursor: pointer;
text-align: center;
text-align: center;
@@ -648,6 +649,12 @@
@@ -648,6 +649,12 @@
font-size: 20px;
font-size: 20px;
}
}
 
@media screen and (max-width: 855px) {
 
.search__search-bar {
 
max-width: 45ch;
 
}
 
}
 
.search__search-icon {
.search__search-icon {
position: absolute;
position: absolute;
bottom: 12px;
bottom: 12px;
Loading