A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(widgets): keep docker rows visible on wide cards (#7168)
Ben Zikride61186479d9
diff --git a/packages/widgets/src/docker/component.tsx b/packages/widgets/src/docker/component.tsxindex 273c51c4f..17daf8473 100644--- a/packages/widgets/src/docker/component.tsx+++ b/packages/widgets/src/docker/component.tsx@@ -44,7 +44,7 @@ import { AddDockerAppToHomarr, useDockerContainerRemovalConfirmation } from "@hoimport { showErrorNotification, showSuccessNotification } from "@homarr/notifications";import { useByteFormatter } from "@homarr/settings";import { useI18n } from "@homarr/translation/client";-import { zoomCompensatedSize } from "@homarr/ui";+import { iconSizes, zoomCompensatedSize } from "@homarr/ui";import type { WidgetComponentProps } from "../definition";import { getUsableWidgetQueryData } from "../common/query-state";@@ -466,7 +466,7 @@ export default function DockerWidget({wrap="nowrap"><Group gap={4} wrap="nowrap">- <IconBrandDocker size="var(--mantine-font-size-md)" style={{ flexShrink: 0 }} />+ <IconBrandDocker style={{ ...iconSizes.md, flexShrink: 0 }} /><Text size="xs" truncate>{t("table.footer", { count: containers.length.toString() })}</Text>diff --git a/packages/widgets/src/docker/styles.css b/packages/widgets/src/docker/styles.cssindex 5e24b55ca..483be4a84 100644--- a/packages/widgets/src/docker/styles.css+++ b/packages/widgets/src/docker/styles.css@@ -3,3 +3,21 @@--mantine-datatable-background-color: transparent !important;--mantine-datatable-striped-color: transparent !important;}++/* border-collapse drops a border on the sticky header, so the line is an inset+ shadow. The opaque fill replaces the shared backdrop-filter, which blanks+ row paint in Mac Chrome. Scoped to this table; scroll shadows stay. */+.homarr-data-table.docker-table .mantine-datatable-header th {+ border-bottom: none;+ box-shadow: inset 0 -1px 0 var(--mantine-color-default-border);+}++.homarr-data-table.docker-table th {+ background:+ linear-gradient(+ var(--background-color, var(--mantine-color-body)),+ var(--background-color, var(--mantine-color-body))+ ),+ var(--mantine-color-body) !important;+ backdrop-filter: none;+}