From 3978f93af242a4c8c6b056169e4f8ce112ea77f6 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 9 Sep 2021 20:22:59 +0400 Subject: [PATCH] Let's leave a little gap so we can close a view. And set those properties for any element inside the view. --- files/static/assets/css/main.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/files/static/assets/css/main.css b/files/static/assets/css/main.css index 0b4a434..d2bfb5d 100644 --- a/files/static/assets/css/main.css +++ b/files/static/assets/css/main.css @@ -112,12 +112,11 @@ section { margin-top: 1rem; } vertical-align: middle; width: 100%; } -#view audio, -#view video { +#view * { flex: none; margin: 0 auto; max-height: 100%; - max-width: 100%; } + max-width: 96%; } table { overflow-y: scroll; width: 100%; }