From 87bd73fc619ae6a50d1c3871e92825328ea3e88f Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 7 Dec 2021 16:11:24 +0300 Subject: Small fixes for code block and vcard avatar CSS --- src/frontend/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/style.css b/src/frontend/style.css index a0add44..0b09f81 100644 --- a/src/frontend/style.css +++ b/src/frontend/style.css @@ -131,6 +131,12 @@ article.h-entry > header.metadata ul { list-style-type: none; } +article.h-entry .e-content pre { + border: 1px solid gray; + border-radius: 0.5em; + overflow-y: auto; + padding: 0.5em; +} article.h-entry img.u-photo { max-width: 80%; max-height: 90vh; @@ -159,6 +165,8 @@ article.h-card img.u-photo { height: 8rem; border: 1px solid gray; margin-right: .75em; + object-fit: cover; + aspect-ratio: 1; } .mini-h-card img { -- cgit 1.4.1