forked from p15670423/monkey
ui: rename unsafe-indicator to warning-icon
This commit is contained in:
parent
7ec8f0394c
commit
9d9e8168fb
|
@ -55,7 +55,7 @@ function ChildCheckbox(props) {
|
|||
let displayLabel = [<span key={'label'} className={'option-text'}>{label}</span>];
|
||||
|
||||
if (!safe) {
|
||||
displayLabel.push(<WarningIcon key="unsafe-indicator"/>)
|
||||
displayLabel.push(<WarningIcon key="warning-icon"/>)
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
@ -4,7 +4,7 @@ import React from 'react';
|
|||
|
||||
function WarningIcon() {
|
||||
return (
|
||||
<FontAwesomeIcon className="unsafe-indicator" icon={faExclamationTriangle}/>
|
||||
<FontAwesomeIcon className="warning-icon" icon={faExclamationTriangle}/>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,6 @@
|
|||
.info-pane-warning {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.info-pane-warning .unsafe-indicator {
|
||||
.info-pane-warning .warning-icon {
|
||||
margin-left: 0em;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.unsafe-indicator {
|
||||
.warning-icon {
|
||||
text-transform: uppercase;
|
||||
color: #ffc107;
|
||||
font-weight: 900;
|
||||
|
|
Loading…
Reference in New Issue