From 012be75c7f8e8781cd48b24d26d610345294dd72 Mon Sep 17 00:00:00 2001 From: Karl Sandin Date: Sun, 3 May 2020 14:43:51 +0200 Subject: [PATCH 1/2] Fix to search result overflow --- assets/css/main.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/main.scss b/assets/css/main.scss index 4e563518e80..e6226182159 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -384,6 +384,7 @@ $sidebar-display: "sidebar-display"; } #search-results { + word-break: break-word; padding-bottom: 6rem; a { @extend %link-color; From 994e3084b697a14eac443ff78e3af727176e8b8f Mon Sep 17 00:00:00 2001 From: Karl Sandin Date: Sun, 3 May 2020 18:26:27 +0200 Subject: [PATCH 2/2] Added max-width instead of word-break to search results --- assets/css/main.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index e6226182159..1e5cd1bbdaf 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -384,7 +384,6 @@ $sidebar-display: "sidebar-display"; } #search-results { - word-break: break-word; padding-bottom: 6rem; a { @extend %link-color; @@ -1076,6 +1075,10 @@ table { } } + #search-results>div { + max-width: 100% !important; + } + #search-input { margin-left: 0; width: 95%;