1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

feat(ui): ui change for edge compute settings EE-3800 (#7365)

* added style to edge compute under settings
This commit is contained in:
Richard Wei 2022-08-03 11:15:00 +12:00 committed by GitHub
parent 21fbd37bfb
commit 65c050dc87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 11 deletions

View file

@ -1,11 +1,14 @@
import { PropsWithChildren } from 'react';
import { Icon } from '@@/Icon';
export function FormError({ children }: PropsWithChildren<unknown>) {
return (
<div className="small text-warning">
<i
className="fa fa-exclamation-triangle space-right"
aria-hidden="true"
<div className="small text-warning vertical-center">
<Icon
icon="alert-triangle"
feather
className="icon icon-sm icon-warning"
/>
{children}
</div>

View file

@ -66,3 +66,7 @@
background-color: var(--BE-only);
box-shadow: inset 0 0 1px rgb(0 0 0 / 50%), inset 0 0 40px var(--BE-only);
}
.switch input[type='checkbox']:disabled + .slider {
cursor: not-allowed;
}