[frontend/components] Clarify naming for WidgetPanel, update styling

This commit is contained in:
Jeder 2024-10-24 21:51:41 +02:00 committed by Lilian
parent 9d203912e3
commit 382c4d6a20
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
@using Iceshrimp.Frontend.Components @using Iceshrimp.Frontend.Components
<div class="widget-panel"> <div class="widget-panel-elements">
<NotificationList/> <NotificationList/>
</div> </div>

View file

@ -1,9 +1,8 @@
.widget-panel { .widget-panel-elements {
display: flex; display: flex;
max-width: 23rem; max-width: 23rem;
min-width: 23rem; min-width: 23rem;
position: sticky; position: sticky;
top: 0; top: 0;
max-height: 100vh; max-height: 100vh;
border-left: 0.1rem var(--highlight-color) solid;
} }