[frontend] Various CSS fixes

This commit is contained in:
Lilian 2024-07-04 19:55:38 +02:00
parent 1b7666a483
commit 427972498c
No known key found for this signature in database
6 changed files with 25 additions and 3 deletions

View file

@ -4,7 +4,7 @@
max-height: 25rem;
border-radius: 0.5rem;
}
audio.attachment {
width: 100%;
}
@ -12,6 +12,11 @@ audio.attachment {
.file {
display: inline-block;
white-space: normal;
> a {
text-decoration: none;
color: var(--notice-color)
}
}
::deep {

View file

@ -16,6 +16,13 @@
}
}
::deep {
.mention {
text-decoration: none;
color: var(--notice-color);
}
}
::deep {
.emoji {
display: inline;

View file

@ -3,7 +3,9 @@
<div class="scroller">
@foreach (var el in Notifications)
{
<NotificationComponent NotificationResponse="el" @key="el.Id"/>
<div class="wrapper">
<NotificationComponent NotificationResponse="el" @key="el.Id"/>
</div>
}
<ScrollEnd ManualLoad="LoadMore" IntersectionChange="LoadMore"></ScrollEnd>
</div>

View file

@ -4,4 +4,10 @@
flex-direction: column;
width: 100%;
overflow-x: scroll;;
}
.wrapper {
padding-left: 0.5rem;
padding-right: 0.5rem;
width: 100%;
}

View file

@ -25,4 +25,6 @@
flex-direction: column;
width: 100%;
align-items: center;
padding-left: 0.5rem;
padding-right: 0.5rem;
}

View file

@ -5,5 +5,5 @@
position: sticky;
top: 0;
max-height: 100vh;
padding-left: 1rem;
border-left: 0.1rem var(--highlight-color) solid;
}