From b8e66aa9bf09528a643c38046061d37db907c6fe Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Thu, 16 Sep 2021 16:57:10 +0100 Subject: [PATCH] [CSS] Scrollable panels. Attachments width is retained on view now. --- public/assets/css/base.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/public/assets/css/base.css b/public/assets/css/base.css index c6cc6bae5e..f99f59833b 100644 --- a/public/assets/css/base.css +++ b/public/assets/css/base.css @@ -409,11 +409,15 @@ summary:hover .icon-details-open { background-color: var(--translucent); padding: var(--small-size); - width: auto; - height: auto; max-width: 100%; } +.note-attachments > figure > img, +.note-attachments > figure > video { + width: min-content; + height: auto; +} + .note-attachments > figure figcaption { display: flex; max-width: 100%; @@ -758,6 +762,8 @@ input[type=file] { height: calc(100% - 3rem); padding: var(--unit-size); + + overflow-y: auto; }