fix toot spacing

This commit is contained in:
f0x 2023-05-10 20:18:50 +02:00
parent c8f245b8bc
commit 93b9eb7b0c
2 changed files with 4 additions and 16 deletions

View file

@ -106,7 +106,10 @@ main {
} }
.body { .body {
padding: 0 0.75rem; padding: 0.5rem 0.75rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
} }
details > summary { details > summary {
@ -124,7 +127,6 @@ main {
.text { .text {
margin: 0; margin: 0;
padding-top: 0.5rem;
grid-row: span 1; grid-row: span 1;
grid-column: 1 / span 3; grid-column: 1 / span 3;
@ -139,8 +141,6 @@ main {
} }
.content { .content {
padding-bottom: 0.5rem;
word-break: break-word; word-break: break-word;
blockquote { blockquote {
@ -200,7 +200,6 @@ main {
} }
.media { .media {
margin-top: 0.5rem;
border-radius: $br; border-radius: $br;
grid-column: span 3; grid-column: span 3;
display: grid; display: grid;
@ -407,13 +406,5 @@ main {
.info { .info {
background: $toot-focus-info-bg; background: $toot-focus-info-bg;
} }
.not-expanded {
display: none;
}
.media {
margin-bottom: 0.5rem;
}
} }
} }

View file

@ -29,9 +29,6 @@
<span class="sr-only">.</span> <span class="sr-only">.</span>
</span> </span>
<span class="username">@{{.Account.Username}}<span class="sr-only">, </span>{{acctInstance .Account.Acct}}</span> <span class="username">@{{.Account.Username}}<span class="sr-only">, </span>{{acctInstance .Account.Acct}}</span>
<!-- <div class="not-expanded timestamp">
<time datetime="{{.CreatedAt}}">{{.CreatedAt | timestamp}}</time>
</div> -->
</a> </a>
</section> </section>
<section class="body"> <section class="body">