[frontend/components] Ascended note cleanup
This commit is contained in:
parent
cc1e26f825
commit
61ceb10c82
2 changed files with 6 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
@using Iceshrimp.Frontend.Components.Note
|
@using Iceshrimp.Frontend.Components.Note
|
||||||
@using Iceshrimp.Shared.Schemas.Web
|
@using Iceshrimp.Shared.Schemas.Web
|
||||||
@inject NavigationManager NavigationManager
|
@inject NavigationManager NavigationManager
|
||||||
<div class="note">
|
<div class="note-parent">
|
||||||
<div class="note-container">
|
<div class="note-container">
|
||||||
<div class="note-indent">
|
<div class="note-indent">
|
||||||
<img class="user-avatar" src="@Note.User.AvatarUrl"/>
|
<img class="user-avatar" src="@Note.User.AvatarUrl"/>
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="note" @onclick="OpenNote">
|
<div class="note" @onclick="OpenNote">
|
||||||
<Note Indented="true" NoteResponse="Note"/>
|
<Note Indented="true" NoteResponse="Note"/>
|
||||||
<div class="pad"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
.note {
|
.note-parent, .note {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note {
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.note-indent {
|
.note-indent {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -20,8 +24,3 @@
|
||||||
max-width: 45rem;
|
max-width: 45rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pad {
|
|
||||||
height: 1rem;
|
|
||||||
width: 1px;
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue