mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-14 14:09:26 +02:00
Fix jumping search box (#163)
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
.bookmarks-page .search {
|
.bookmarks-page .search {
|
||||||
|
$searchbox-width: 180px;
|
||||||
|
$searchbox-width-md: 300px;
|
||||||
$searchbox-height: 1.8rem;
|
$searchbox-height: 1.8rem;
|
||||||
|
|
||||||
// Regular input
|
// Regular input
|
||||||
input[type='search'] {
|
input[type='search'] {
|
||||||
width: 180px;
|
width: $searchbox-width;
|
||||||
height: $searchbox-height;
|
height: $searchbox-height;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
|
||||||
@media (min-width: $control-width-md) {
|
@media (min-width: $control-width-md) {
|
||||||
width: 300px;
|
width: $searchbox-width-md;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,14 +20,19 @@
|
|||||||
height: $searchbox-height;
|
height: $searchbox-height;
|
||||||
|
|
||||||
.form-autocomplete-input {
|
.form-autocomplete-input {
|
||||||
|
width: $searchbox-width;
|
||||||
height: $searchbox-height;
|
height: $searchbox-height;
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
input[type='search'] {
|
input[type='search'] {
|
||||||
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: $control-width-md) {
|
||||||
|
width: $searchbox-width-md;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user