1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(kube): create namespace from manifest view [EE-3479] (#7306)

Restyle create from manifest
This commit is contained in:
Matt Hook 2022-08-01 16:44:56 +12:00 committed by GitHub
parent 11c778cfeb
commit ddaf9dc885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 154 additions and 90 deletions

View file

@ -7,3 +7,9 @@
.label {
padding: 0;
}
.switchValues {
font-style: normal;
font-weight: 500;
margin-left: 5px;
}

View file

@ -65,10 +65,14 @@ export function SwitchField({
dataCy={dataCy}
/>
{switchValues && checked && (
<span className="ml-2">{switchValues.on}</span>
<span className={`"ml-2" ${styles.switchValues}`}>
{switchValues.on}
</span>
)}
{switchValues && !checked && (
<span className="ml-2">{switchValues.off}</span>
<span className={`"ml-2" ${styles.switchValues}`}>
{switchValues.off}
</span>
)}
</label>
);