1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-06-08 00:27:58 +00:00

Improve the width of search results items (fix #276)

This commit is contained in:
Cotes Chung 2021-02-05 22:08:04 +08:00
parent 34b7a80a78
commit 7e31ba4103

View File

@ -941,7 +941,7 @@ $sidebar-display: "sidebar-display";
} }
> div { > div {
max-width: 100%; width: 100%;
&:not(:last-child) { &:not(:last-child) {
margin-bottom: 1rem; margin-bottom: 1rem;
@ -1390,7 +1390,7 @@ $sidebar-display: "sidebar-display";
} }
#search-results > div { #search-results > div {
max-width: 46%; width: 46%;
&:nth-child(odd) { &:nth-child(odd) {
margin-right: 1.5rem; margin-right: 1.5rem;
} }