mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
fix(sidebar): high contrast styles, single option link [EE-5666] (#10485)
This commit is contained in:
parent
0e47f22c0a
commit
776be2e022
5 changed files with 77 additions and 23 deletions
|
@ -71,7 +71,7 @@ export function SidebarParent({
|
|||
)}
|
||||
>
|
||||
<Icon icon={icon} />
|
||||
{isSidebarOpen && <span className="ml-4">{title}</span>}
|
||||
{isSidebarOpen && <span className="pl-4">{title}</span>}
|
||||
</Link>
|
||||
</button>
|
||||
{isSidebarOpen && (
|
||||
|
@ -123,7 +123,7 @@ export function SidebarParent({
|
|||
<li className="flex items-center space-x-2 text-sm mb-1">
|
||||
<span>{title}</span>
|
||||
</li>
|
||||
<div className="bg-blue-8/50 be:bg-gray-8 th-dark:bg-gray-true-8 rounded">
|
||||
<div className="bg-blue-8 be:bg-gray-8 th-dark:bg-gray-true-8 th-highcontrast:bg-black th-highcontrast:border th-highcontrast:border-solid th-highcontrast:border-white rounded">
|
||||
{children}
|
||||
</div>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue