From faf621b643ad2b4b7103d921d4a2d9d4838a21d6 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Fri, 21 Aug 2020 14:09:13 +0200 Subject: Improve resizing, remove important from styles --- .../navigationPaneSearch/navigationPaneSearch.scss | 2 +- .../navigationPaneSearch/navigationPaneSearch.tsx | 14 ++++---------- .../src/main/components/search/dokkaFuzzyFilter.tsx | 2 +- .../src/main/kotlin/renderers/html/htmlPreprocessors.kt | 5 ----- 4 files changed, 6 insertions(+), 17 deletions(-) (limited to 'plugins/base') diff --git a/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.scss b/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.scss index b5714ca4..1a61e90f 100644 --- a/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.scss +++ b/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.scss @@ -17,8 +17,8 @@ div#paneSearch { } .navigation-pane-search { - width: 100% !important; padding-top: 16px; + width: 100%; } div.paneSearchInputWrapper { diff --git a/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.tsx b/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.tsx index 3174b023..47323e73 100644 --- a/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.tsx +++ b/plugins/base/frontend/src/main/components/navigationPaneSearch/navigationPaneSearch.tsx @@ -6,11 +6,8 @@ import './navigationPaneSearch.scss'; import ClearIcon from 'react-svg-loader!./clear.svg'; export const NavigationPaneSearch = () => { - const defaultWidth = 300 - const [navigationList, setNavigationList] = useState([]); const [selected, onSelected] = useState