Skip to content

Commit

Permalink
Merge pull request zedeus#538 from LainLayer/master
Browse files Browse the repository at this point in the history
Embed CSS tweak
  • Loading branch information
zedeus authored Feb 5, 2022
2 parents 266e0a0 + e01f396 commit 8b2fa98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/sass/tweet/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,18 @@
background-color: var(--bg_panel);

.tweet-content {
font-size: 18px
font-size: 18px;
}

.tweet-body {
.tweet-body {
display: flex;
flex-direction: column;
max-height: calc(100vh - 0.75em * 2);
}

.card-image img {
height: auto;
}
}

.attribution {
Expand Down
2 changes: 1 addition & 1 deletion src/views/general.nim
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
let opensearchUrl = getUrlPrefix(cfg) & "/opensearch"

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")

if theme.len > 0:
Expand Down

0 comments on commit 8b2fa98

Please sign in to comment.