Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Simplify shared component gradients to solid colors

rcourtman4c1e4ab3ed24
diff --git a/frontend-modern/src/components/Toast/Toast.tsx b/frontend-modern/src/components/Toast/Toast.tsx
index 232eb6498c..aa0cfeb6b1 100644
--- a/frontend-modern/src/components/Toast/Toast.tsx
+++ b/frontend-modern/src/components/Toast/Toast.tsx
@@ -107,8 +107,7 @@ const Toast: Component<ToastProps> = (props) => {
min-w-[320px] max-w-[500px]
`}
style={{
- background:
- 'linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%)',
+ background: 'rgba(255,255,255,0.1)',
'box-shadow':
'0 8px 32px 0 rgba(31, 38, 135, 0.37), inset 0 0 0 1px rgba(255,255,255,0.1)',
}}
diff --git a/frontend-modern/src/components/shared/ScrollableTable.tsx b/frontend-modern/src/components/shared/ScrollableTable.tsx
index 60adf6affc..72ee17b015 100644
--- a/frontend-modern/src/components/shared/ScrollableTable.tsx
+++ b/frontend-modern/src/components/shared/ScrollableTable.tsx
@@ -70,7 +70,7 @@ export const ScrollableTable: Component<ScrollableTableProps> = (props) => {
<div class={`relative ${props.class || ''}`}>
{/* Left fade */}
<Show when={showLeftFade()}>
- <div class="absolute left-0 top-0 bottom-0 w-8 bg-gradient-to-r from-white dark:from-gray-800 to-transparent z-10 pointer-events-none" />
+ <div class="absolute left-0 top-0 bottom-0 w-8 bg-white dark:bg-gray-800 z-10 pointer-events-none" />
</Show>
{/* Scrollable container */}
@@ -89,7 +89,7 @@ export const ScrollableTable: Component<ScrollableTableProps> = (props) => {
{/* Right fade */}
<Show when={showRightFade()}>
- <div class="absolute right-0 top-0 bottom-0 w-8 bg-gradient-to-l from-white dark:from-gray-800 to-transparent z-10 pointer-events-none" />
+ <div class="absolute right-0 top-0 bottom-0 w-8 bg-white dark:bg-gray-800 z-10 pointer-events-none" />
</Show>
</div>
);