From 21ab4db6ce8cdd29b7a28ae6fbda1b9c37a08554 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 20 Sep 2022 22:56:20 -0400 Subject: [PATCH] better for mobile --- layouts/partials/item.html | 2 +- layouts/partials/sidebar.html | 3 --- static/css/theme.css | 15 +++++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/partials/item.html b/layouts/partials/item.html index 6efd43f..3e11a1b 100644 --- a/layouts/partials/item.html +++ b/layouts/partials/item.html @@ -17,7 +17,7 @@ {{else}} - + {{end}} {{end}} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index aa08ab9..1c5e7f7 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -16,11 +16,8 @@ {{else}} {{if .Params.image}} - - {{else}} - {{end}} diff --git a/static/css/theme.css b/static/css/theme.css index 85d0f4b..f05a24b 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -395,14 +395,17 @@ aside .listing img{ .recent,.featured{ flex-direction: column; align-items: center; + width: 100%; } .recent img, -.featured img, -.recent video, -.featured video{ - max-width:100%; - margin:0.25rem; -} + .featured img, + .recent video, + .featured video{ + + max-width:unset; + width:100%; + margin:0; + } .listing{ flex-direction: column; }