From 559115bfe964324d99bd803d6b6039c1236ca44c Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Mon, 7 Jul 2025 13:03:52 -0700 Subject: [PATCH] refactor: simplify header structure in DefaultPageLayout - Removed unnecessary wrapper div and adjusted the header layout in Header.php for cleaner code. - Updated CSS to reflect changes in the header structure, ensuring proper styling for the unraid-header-os-version component. This change aims to enhance code readability and maintainability by streamlining the header layout. No further changes are pending for this task. --- .../plugins/dynamix/include/DefaultPageLayout/Header.php | 6 +----- emhttp/plugins/dynamix/styles/default-base.css | 8 +++++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout/Header.php b/emhttp/plugins/dynamix/include/DefaultPageLayout/Header.php index 2bd197073..ea6e88031 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout/Header.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout/Header.php @@ -1,9 +1,5 @@ diff --git a/emhttp/plugins/dynamix/styles/default-base.css b/emhttp/plugins/dynamix/styles/default-base.css index 1b5661f7f..6db64efd5 100644 --- a/emhttp/plugins/dynamix/styles/default-base.css +++ b/emhttp/plugins/dynamix/styles/default-base.css @@ -427,9 +427,7 @@ textarea { background-repeat: no-repeat; } -#header unraid-i18n-host { - font-size: 16px; - margin-left: auto; +#header unraid-user-profile { height: 100%; } @@ -2040,6 +2038,10 @@ span#wlan0 { justify-self: stretch; } +.h-full { + height: 100%; +} + .w-full { width: 100%; }