mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(home): EE-4874 homepage ui issues (#8319)
This commit is contained in:
parent
07dd6bbe84
commit
d04747b309
6 changed files with 26 additions and 6 deletions
|
@ -27,7 +27,7 @@ export function EdgeIndicator({
|
|||
return (
|
||||
<span role="status" aria-label="edge-status">
|
||||
<EnvironmentStatusBadgeItem aria-label="unassociated">
|
||||
<s>associated</s>
|
||||
<span className="whitespace-nowrap">Not associated</span>
|
||||
</EnvironmentStatusBadgeItem>
|
||||
</span>
|
||||
);
|
||||
|
@ -41,6 +41,7 @@ export function EdgeIndicator({
|
|||
>
|
||||
<EnvironmentStatusBadgeItem
|
||||
color={isValid ? 'success' : 'danger'}
|
||||
icon={isValid ? 'svg-heartbeatup' : 'svg-heartbeatdown'}
|
||||
aria-label="edge-heartbeat"
|
||||
>
|
||||
heartbeat
|
||||
|
|
|
@ -4,6 +4,8 @@ import darkmode from '@/assets/ico/theme/darkmode.svg?c';
|
|||
import lightmode from '@/assets/ico/theme/lightmode.svg?c';
|
||||
import highcontrastmode from '@/assets/ico/theme/highcontrastmode.svg?c';
|
||||
// general icons
|
||||
import heartbeatup from '@/assets/ico/heartbeat-up.svg?c';
|
||||
import heartbeatdown from '@/assets/ico/heartbeat-down.svg?c';
|
||||
import checked from '@/assets/ico/checked.svg?c';
|
||||
import dataflow from '@/assets/ico/dataflow-1.svg?c';
|
||||
import git from '@/assets/ico/git.svg?c';
|
||||
|
@ -44,6 +46,8 @@ import quay from '@/assets/ico/vendor/quay.svg?c';
|
|||
const placeholder = Placeholder;
|
||||
|
||||
export const SvgIcons = {
|
||||
heartbeatup,
|
||||
heartbeatdown,
|
||||
automode,
|
||||
darkmode,
|
||||
lightmode,
|
||||
|
|
|
@ -32,7 +32,7 @@ export function SearchBar({
|
|||
|
||||
return (
|
||||
<div
|
||||
className={clsx('searchBar items-center flex min-w-[90px]', className)}
|
||||
className={clsx('searchBar items-center flex min-w-[350px]', className)}
|
||||
>
|
||||
<Search className="searchIcon lucide shrink-0" />
|
||||
<input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue