summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Klingele <git@leonklingele.de>2019-08-01 09:35:57 +0200
committerLeon Klingele <git@leonklingele.de>2019-08-01 09:35:57 +0200
commitfe2cffb25b43adc7d846c3d9a32154a661b945e0 (patch)
tree11c3df6500056fb714954c4c96bbfcdddcdedc7e
parentf99a7b2a8c8c480f175f15155e8616cdefb59300 (diff)
downloadinvidious-fe2cffb25b43adc7d846c3d9a32154a661b945e0.tar.gz
invidious-fe2cffb25b43adc7d846c3d9a32154a661b945e0.tar.bz2
invidious-fe2cffb25b43adc7d846c3d9a32154a661b945e0.zip
Fix jumpy page on search field focus
-rw-r--r--assets/css/default.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 3d27f26b..c527cbca 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -159,6 +159,8 @@ img.thumbnail {
}
.navbar > .searchbar .pure-form input[type="search"] {
+ margin-bottom: 1px;
+
border-top: 0;
border-left: 0;
border-right: 0;
@@ -169,7 +171,6 @@ img.thumbnail {
box-shadow: none;
- transition: 0.1s border-bottom;
-webkit-appearance: none;
}
@@ -188,6 +189,7 @@ input[type="search"]::-webkit-search-cancel-button {
/* attract focus to the searchbar by adding a subtle transition */
.navbar > .searchbar .pure-form input[type="search"]:focus {
+ margin-bottom: 0px;
border-bottom: 2px solid #aaa;
}