Skip to content

Commit

Permalink
common.less: Add margin-left to .affected-objects badge
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sukhwinder33445 committed Jan 22, 2025
1 parent b52c219 commit c25ad5f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions public/css/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -412,3 +412,13 @@ form[name="form_confirm_removal"] {
padding: 0 0.25em;
.rounded-corners();
}

.item-list {
.title .affected-objects {
margin-left: .28125em; // calculated &nbsp; width;
}

&.default-layout .title .affected-objects {
margin-left: 0;
}
}

0 comments on commit c25ad5f

Please sign in to comment.