Fix settings sidebar width causing status icons to wrap
Revert expanded width from w-64 (256px) to w-72 (288px) and min/max
from 16rem to 18rem. The reduction in commit 6333a445 caused PVE node
status icons to wrap to two lines.
Related to #764
This commit is contained in:
parent
f9bd09a2b4
commit
d93e17e898
1 changed files with 1 additions and 1 deletions
|
|
@ -2533,7 +2533,7 @@ const Settings: Component<SettingsProps> = (props) => {
|
||||||
|
|
||||||
<Card padding="none" class="relative lg:flex overflow-hidden">
|
<Card padding="none" class="relative lg:flex overflow-hidden">
|
||||||
<div
|
<div
|
||||||
class={`hidden lg:flex lg:flex-col ${sidebarCollapsed() ? 'w-16' : 'w-64'} ${sidebarCollapsed() ? 'lg:min-w-[4rem] lg:max-w-[4rem] lg:basis-[4rem]' : 'lg:min-w-[16rem] lg:max-w-[16rem] lg:basis-[16rem]'} relative border-b border-gray-200 dark:border-gray-700 lg:border-b-0 lg:border-r lg:border-gray-200 dark:lg:border-gray-700 lg:align-top flex-shrink-0 transition-all duration-200`}
|
class={`hidden lg:flex lg:flex-col ${sidebarCollapsed() ? 'w-16' : 'w-72'} ${sidebarCollapsed() ? 'lg:min-w-[4rem] lg:max-w-[4rem] lg:basis-[4rem]' : 'lg:min-w-[18rem] lg:max-w-[18rem] lg:basis-[18rem]'} relative border-b border-gray-200 dark:border-gray-700 lg:border-b-0 lg:border-r lg:border-gray-200 dark:lg:border-gray-700 lg:align-top flex-shrink-0 transition-all duration-200`}
|
||||||
aria-label="Settings navigation"
|
aria-label="Settings navigation"
|
||||||
aria-expanded={!sidebarCollapsed()}
|
aria-expanded={!sidebarCollapsed()}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue