mirror of
https://github.com/unraid/webgui.git
synced 2025-12-30 14:09:53 -06:00
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.
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
<div id="header" class="<?=$display['banner']?>">
|
||||
<div class="logo">
|
||||
<unraid-i18n-host>
|
||||
<unraid-header-os-version></unraid-header-os-version>
|
||||
</unraid-i18n-host>
|
||||
</div>
|
||||
<unraid-header-os-version></unraid-header-os-version>
|
||||
|
||||
<?include "$docroot/plugins/dynamix.my.servers/include/myservers2.php"?>
|
||||
</div>
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user