[frontend/components] Ascended note cleanup

This commit is contained in:
Jeder 2024-10-28 00:01:48 +01:00 committed by Lilian
parent cc1e26f825
commit 61ceb10c82
No known key found for this signature in database
2 changed files with 6 additions and 8 deletions

View file

@ -2,7 +2,7 @@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Shared.Schemas.Web
@inject NavigationManager NavigationManager
<div class="note">
<div class="note-parent">
<div class="note-container">
<div class="note-indent">
<img class="user-avatar" src="@Note.User.AvatarUrl"/>
@ -10,7 +10,6 @@
</div>
<div class="note" @onclick="OpenNote">
<Note Indented="true" NoteResponse="Note"/>
<div class="pad"></div>
</div>
</div>
</div>

View file

@ -1,7 +1,11 @@
.note {
.note-parent, .note {
width: 100%;
}
.note {
padding-bottom: 1rem;
}
.note-indent {
display: flex;
flex-direction: column;
@ -20,8 +24,3 @@
max-width: 45rem;
width: 100%;
}
.pad {
height: 1rem;
width: 1px;
}