From 7e31ba41038adb1846a1397cd32d95ff9c5878df Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 5 Feb 2021 22:08:04 +0800 Subject: [PATCH] Improve the width of search results items (fix #276) --- _sass/addon/commons.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c528168..170f5ab 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -941,7 +941,7 @@ $sidebar-display: "sidebar-display"; } > div { - max-width: 100%; + width: 100%; &:not(:last-child) { margin-bottom: 1rem; @@ -1390,7 +1390,7 @@ $sidebar-display: "sidebar-display"; } #search-results > div { - max-width: 46%; + width: 46%; &:nth-child(odd) { margin-right: 1.5rem; }