mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
fix(ui): kubernetes-consistent-styling EE-3820 (#7425)
This commit is contained in:
parent
b67f404d8d
commit
36c93c7f57
80 changed files with 713 additions and 548 deletions
|
@ -1,3 +1,4 @@
|
|||
import clsx from 'clsx';
|
||||
import { useState } from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
|
||||
|
@ -5,6 +6,7 @@ import { EnvironmentId } from '@/portainer/environments/types';
|
|||
import { useAnalytics } from '@/angulartics.matomo/analytics-services';
|
||||
|
||||
import { Button } from '@@/buttons';
|
||||
import { Icon } from '@@/Icon';
|
||||
|
||||
import { KubeCtlShell } from './KubectlShell';
|
||||
import styles from './KubectlShellButton.module.css';
|
||||
|
@ -19,13 +21,14 @@ export function KubectlShellButton({ environmentId }: Props) {
|
|||
<>
|
||||
<Button
|
||||
color="primary"
|
||||
size="xsmall"
|
||||
size="small"
|
||||
disabled={open}
|
||||
data-cy="k8sSidebar-shellButton"
|
||||
onClick={() => handleOpen()}
|
||||
className={styles.root}
|
||||
className={clsx(styles.root, '!flex')}
|
||||
>
|
||||
<i className="fa fa-terminal space-right" /> kubectl shell
|
||||
<Icon icon="terminal" feather className="vertical-center" size="md" />{' '}
|
||||
kubectl shell
|
||||
</Button>
|
||||
|
||||
{open &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue