Embed CSS tweak

This commit is contained in:
Mitarashi 2022-02-05 19:43:13 +02:00
parent 266e0a0082
commit e01f3960cb
2 changed files with 7 additions and 3 deletions

View file

@ -121,14 +121,18 @@
background-color: var(--bg_panel); background-color: var(--bg_panel);
.tweet-content { .tweet-content {
font-size: 18px font-size: 18px;
} }
.tweet-body { .tweet-body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
max-height: calc(100vh - 0.75em * 2); max-height: calc(100vh - 0.75em * 2);
} }
.card-image img {
height: auto;
}
} }
.attribution { .attribution {

View file

@ -52,7 +52,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
let opensearchUrl = getUrlPrefix(cfg) & "/opensearch" let opensearchUrl = getUrlPrefix(cfg) & "/opensearch"
buildHtml(head): buildHtml(head):
link(rel="stylesheet", type="text/css", href="/css/style.css?v=16") link(rel="stylesheet", type="text/css", href="/css/style.css?v=18")
link(rel="stylesheet", type="text/css", href="/css/fontello.css?v=2") link(rel="stylesheet", type="text/css", href="/css/fontello.css?v=2")
if theme.len > 0: if theme.len > 0: