commit: 81f74262286df6afd2afe8ee4981312b238d6163
parent 30e5f395b740f17f21719a17ff3eead994317f93
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;
}