ui: rename unsafe-indicator to warning-icon

This commit is contained in:
Mike Salvatore 2021-01-28 10:18:40 -05:00
parent 7ec8f0394c
commit 9d9e8168fb
4 changed files with 4 additions and 4 deletions

View File

@ -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 (

View File

@ -4,7 +4,7 @@ import React from 'react';
function WarningIcon() {
return (
<FontAwesomeIcon className="unsafe-indicator" icon={faExclamationTriangle}/>
<FontAwesomeIcon className="warning-icon" icon={faExclamationTriangle}/>
);
}

View File

@ -31,6 +31,6 @@
.info-pane-warning {
margin-top: 1em;
}
.info-pane-warning .unsafe-indicator {
.info-pane-warning .warning-icon {
margin-left: 0em;
}

View File

@ -57,7 +57,7 @@
white-space: pre-wrap;
}
.unsafe-indicator {
.warning-icon {
text-transform: uppercase;
color: #ffc107;
font-weight: 900;