From b03b979fac47e1b863ef9b7374d309382316895a Mon Sep 17 00:00:00 2001 From: akwizgran <michael@briarproject.org> Date: Tue, 2 Jan 2024 17:58:53 +0000 Subject: [PATCH] Fix styling for screenshots div. --- assets/css/styles.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index fc9efed..947f9ef 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -769,7 +769,7 @@ figure img { font-family: 'Inter 400'; } -#screenshots { +div#screenshots { margin-top: 10px; overflow-x: scroll; width: 100%; @@ -779,12 +779,16 @@ figure img { gap: 12px; } -#screenshots a { +div#screenshots a { display: inline-block; width: 30%; min-width: 30%; } +div#screenshots img { + max-width: 100%; +} + .description a { display: block; width: min-content; @@ -1301,4 +1305,4 @@ figure.mobile-photo { flex: 80; max-width: 80%; } -} \ No newline at end of file +} -- GitLab