You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/05/14 17:09:30 UTC

[maven-fluido-skin] 01/01: [MSKINS-173] Google site search box too wide in sidebar

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MSKINS-173-2
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git

commit 934fa58e3b8d04f189cdec4dc39e0b3d4486e9e4
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat May 14 11:41:00 2022 +0200

    [MSKINS-173] Google site search box too wide in sidebar
    
    Second try, make it dynamic in the sidebar only.
---
 src/main/resources/css/maven-theme.css | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/css/maven-theme.css b/src/main/resources/css/maven-theme.css
index 8538489..1ce0c98 100644
--- a/src/main/resources/css/maven-theme.css
+++ b/src/main/resources/css/maven-theme.css
@@ -66,7 +66,11 @@ li.none {
   background-image: url(https://cse.google.com/cse/images/google_custom_search_watermark.gif);
   background-attachment: initial; background-origin: initial; background-clip: initial;
   background-color: rgb(255, 255, 255); background-position: 0% 50%; background-repeat: no-repeat no-repeat;
-  width:95%
+  width:95%;
+}
+
+.sidebar-nav .search-query {
+  width: calc(100% - 30px);
 }
 
 body.topBarEnabled {
@@ -140,10 +144,6 @@ li.pull-right {
   margin-bottom: 10px;
 }
 
-input.search-query {
-  padding-right: 0px;
-}
-
 a.dropdown-toggle {
   cursor: pointer;
 }