diff --git a/resources/assets/less/metager/searchbar.less b/resources/assets/less/metager/searchbar.less
index f53bd066dff9999e3fee2a2c3309e0c6bb8f0f1d..dabf8bc788721978e9df1f2588c17cfaa2266cd8 100644
--- a/resources/assets/less/metager/searchbar.less
+++ b/resources/assets/less/metager/searchbar.less
@@ -29,7 +29,7 @@
         max-width: 600px;
         .search-key {
             display: flex;
-            border-right: 1px solid @startpage-border-color;
+            z-index: 1;
             #input-key {
                 margin: 0;
                 padding: 0px;
@@ -115,6 +115,9 @@
         @media (max-width: @screen-xs-max) {
             max-width: initial;
         }
+        .search-key {
+            border-right: 1px solid @startpage-border-color;
+        }
         .search-submit {
             border-left: 1px solid #aaa;
         }