1
0
Fork 0
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:
Ali 2023-10-16 21:23:23 +01:00 committed by GitHub
parent 0e47f22c0a
commit 776be2e022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 77 additions and 23 deletions

View file

@ -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>