Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit db9b00a

Browse files
committed
Indent features that have compliance restrictions
1 parent 0849e05 commit db9b00a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/main/web/app/FeatureContainer.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ export default class FeatureContainer {
6161
let label = createFeatureLabel(feature);
6262

6363
let container = $("<div>").data(feature).addClass("ui checkbox");
64+
if (feature.compliance) {
65+
container.addClass("indented");
66+
}
67+
6468
$("<input type='checkbox' id='" + id + "'>").appendTo(container);
6569
$("<label>").attr("for", id).html(label).appendTo(container);
6670

src/main/web/app/styles/style.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ pre {
4242
padding-left: @selection-column-padding;
4343
}
4444
}
45+
46+
.indented {
47+
margin-left: 1rem;
48+
}

0 commit comments

Comments
 (0)