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,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: