mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-13 01:02:25 -06:00
refac
This commit is contained in:
@@ -1408,9 +1408,7 @@
|
||||
{/if}
|
||||
|
||||
{#if showStatusPanel}
|
||||
<div
|
||||
class="mx-1 mb-1 rounded-2xl border border-gray-50 bg-white text-xs dark:border-gray-850 dark:bg-gray-900"
|
||||
>
|
||||
<div class="mx-1 rounded-2xl bg-white text-xs dark:bg-gray-900">
|
||||
<div class="flex items-center justify-between px-3 py-1.5">
|
||||
<div class="flex items-center gap-1.5 text-xs text-gray-700 dark:text-gray-300">
|
||||
<span>Status</span>
|
||||
|
||||
@@ -248,7 +248,9 @@
|
||||
.filter((event) => target.events.includes(event.event))
|
||||
.map((event) => event.label)
|
||||
.join(', ')}
|
||||
<div class="notification-target-row">
|
||||
<div
|
||||
class="flex items-center gap-3 border-b border-gray-100/50 px-1 py-1.5 last:border-b-0 dark:border-white/[0.03]"
|
||||
>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="flex min-w-0 items-center gap-2">
|
||||
<span class="truncate text-[0.71875rem] text-gray-700 dark:text-gray-300">
|
||||
@@ -429,21 +431,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</Modal>
|
||||
|
||||
<style>
|
||||
.notification-target-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.375rem 0.25rem;
|
||||
border-bottom: 1px solid rgb(229 231 235 / 0.7);
|
||||
}
|
||||
|
||||
.notification-target-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
:global(.dark) .notification-target-row {
|
||||
border-bottom-color: rgb(255 255 255 / 0.06);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user