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:
parent
21fbd37bfb
commit
65c050dc87
6 changed files with 19 additions and 11 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue