commit: 8dfbe88c154c74aa622e58ea91b6c13264eaa5d9
parent b8c165e7585859b4ff7bbb774723d900b7075465
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 16 Feb 2020 05:37:01 +0100
static-fe.css: Do not scale images too much
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/priv/static/static/static-fe.css b/priv/static/static/static-fe.css
@@ -39,11 +39,9 @@ header {
.activity-content img,
.activity-content video,
.activity-content audio {
- width: 100%;
- height: 100%;
- object-fit: contain;
max-width: 90vw;
max-height: 90vh;
+ object-fit: contain;
margin: 0 auto;
display: block;
}