From c6c7d5dddc5e4a915cb56cf04659ba89e923553a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 25 Dec 2019 05:56:27 +0800 Subject: [PATCH] Use column-gap for album --- botanjs/src/Astro/Blog/Components/Album.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/botanjs/src/Astro/Blog/Components/Album.css b/botanjs/src/Astro/Blog/Components/Album.css index 57c4c9f..1e026c1 100644 --- a/botanjs/src/Astro/Blog/Components/Album.css +++ b/botanjs/src/Astro/Blog/Components/Album.css @@ -1,4 +1,14 @@ +.site_file[data-type="album"] { + column-width: 225px; + column-gap: 0.75em; +} + .site_file[data-type="album"] > div { display: inline-block; - margin: 0.5em; + margin-bottom: 0.5em; + width: 100%; +} + +.site_file[data-type="album"] > div img { + width: 100%; }