[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

@ -12,6 +12,11 @@ audio.attachment {
.file { .file {
display: inline-block; display: inline-block;
white-space: normal; white-space: normal;
> a {
text-decoration: none;
color: var(--notice-color)
}
} }
::deep { ::deep {

View file

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

View file

@ -3,7 +3,9 @@
<div class="scroller"> <div class="scroller">
@foreach (var el in Notifications) @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> <ScrollEnd ManualLoad="LoadMore" IntersectionChange="LoadMore"></ScrollEnd>
</div> </div>

View file

@ -5,3 +5,9 @@
width: 100%; width: 100%;
overflow-x: scroll;; overflow-x: scroll;;
} }
.wrapper {
padding-left: 0.5rem;
padding-right: 0.5rem;
width: 100%;
}

View file

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

View file

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