From 06b236374d9354cf66df7bdc9cd131f93ebfbc65 Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Fri, 30 Apr 2021 23:47:43 +0100 Subject: [PATCH] [CSS][Network] Improve attachment representation Part of why we have thumbnails with a specific size is so that they are in the proper theme size --- public/assets/css/network/public.css | 4 +--- public/assets/css/network/public_mid.css | 4 +--- public/assets/css/network/public_small.css | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/public/assets/css/network/public.css b/public/assets/css/network/public.css index ef430c5548..9db564af6a 100644 --- a/public/assets/css/network/public.css +++ b/public/assets/css/network/public.css @@ -153,9 +153,7 @@ justify-self: left; text-align: center; } -.note-attachments div { - width: 20%; -} + .note-attachments img { order: 1; width: 100%; diff --git a/public/assets/css/network/public_mid.css b/public/assets/css/network/public_mid.css index e485069d5d..68cb1084ee 100644 --- a/public/assets/css/network/public_mid.css +++ b/public/assets/css/network/public_mid.css @@ -151,9 +151,7 @@ justify-self: left; text-align: center; } -.note-attachments div { - width: 20%; -} + .note-attachments img { order: 1; width: 100%; diff --git a/public/assets/css/network/public_small.css b/public/assets/css/network/public_small.css index fbead76c2d..c288b714b9 100644 --- a/public/assets/css/network/public_small.css +++ b/public/assets/css/network/public_small.css @@ -151,9 +151,7 @@ justify-self: left; text-align: center; } -.note-attachments div { - width: 40%; -} + .note-attachments img { order: 1; width: 100%;