commit: c8aae86694b31f792ba375d637914eead9d88bdd
parent 818f3730ebfb1e64fbfc370800b89aacbf035de6
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;
}