summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-08-01 12:50:08 -0500
committerGitHub <noreply@github.com>2019-08-01 12:50:08 -0500
commit004246124b8d9e8be6111f9e483f3b14bd2f1154 (patch)
tree3e709414533d9942e636e07eee0facd2bf6c69ff
parentc41beae99a1b522de0d1dd2bda3e38ffd294d2c7 (diff)
parentfe2cffb25b43adc7d846c3d9a32154a661b945e0 (diff)
downloadinvidious-004246124b8d9e8be6111f9e483f3b14bd2f1154.tar.gz
invidious-004246124b8d9e8be6111f9e483f3b14bd2f1154.tar.bz2
invidious-004246124b8d9e8be6111f9e483f3b14bd2f1154.zip
Merge pull request #664 from leonklingele/css-fix-jumpy-page-on-search-field-focus
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;
}