From 6ab79179292bf0d23bcb6efab0354ed181287b85 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Sat, 14 May 2022 11:41:00 +0200 Subject: [PATCH] [MSKINS-173] Google site search box too wide in sidebar Second try, make it dynamic in the sidebar only. This closes #30 --- 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 8538489e..1ce0c98f 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; }