Merge pull request #538 from LainLayer/master

Embed CSS tweak
This commit is contained in:
Zed 2022-02-05 21:22:08 +01:00 committed by GitHub
commit 8b2fa986b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -121,7 +121,7 @@
background-color: var(--bg_panel); background-color: var(--bg_panel);
.tweet-content { .tweet-content {
font-size: 18px font-size: 18px;
} }
.tweet-body { .tweet-body {
@ -129,6 +129,10 @@
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: