Skip to content

Commit f83887c

Browse files
committed
wcag: Make duplicate node warning more prominent. Addresses #285.
1 parent e33cf66 commit f83887c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/view/netcreate/components/NCNode.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
/* Text Style */
124124
.nccomponent .message {
125125
font-size: 12px;
126+
padding-bottom: 0.5rem;
126127
}
127128
.nccomponent .nodelabel .message {
128129
font-size: 10px;

app/view/netcreate/components/NCNode.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,9 @@ class NCNode extends UNISYS.Component {
879879
{matchList}
880880
</div>
881881
)}
882-
{isDuplicate && <div className="message">{duplicateWarning}</div>}
882+
{isDuplicate && (
883+
<div className="message warning">{duplicateWarning}</div>
884+
)}
883885
</div>
884886
{/* Special handling for `type` field */}
885887
{defs['type'] && !defs['type'].hidden && (

0 commit comments

Comments
 (0)