Skip to content

Commit c25ad5f

Browse files
common.less: Add margin-left to .affected-objects badge
The margin applied by `.title` only work with `<html> text <html>`... structure, here we have <html> followed by <html>, so the margin must be applied explicitely. Applied the double, so it always looks same in all view modes
1 parent b52c219 commit c25ad5f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: public/css/common.less

+10
Original file line numberDiff line numberDiff line change
@@ -412,3 +412,13 @@ form[name="form_confirm_removal"] {
412412
padding: 0 0.25em;
413413
.rounded-corners();
414414
}
415+
416+
.item-list {
417+
.title .affected-objects {
418+
margin-left: .28125em; // calculated &nbsp; width;
419+
}
420+
421+
&.default-layout .title .affected-objects {
422+
margin-left: 0;
423+
}
424+
}

0 commit comments

Comments
 (0)