From c25ad5f31766b85ba939638f015efd9489728159 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 22 Jan 2025 10:37:56 +0100 Subject: [PATCH] common.less: Add margin-left to .affected-objects badge The margin applied by `.title` only work with ` text `... structure, here we have followed by , so the margin must be applied explicitely. Applied the double, so it always looks same in all view modes --- public/css/common.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/css/common.less b/public/css/common.less index 8d314741a..54c9c06f4 100644 --- a/public/css/common.less +++ b/public/css/common.less @@ -412,3 +412,13 @@ form[name="form_confirm_removal"] { padding: 0 0.25em; .rounded-corners(); } + +.item-list { + .title .affected-objects { + margin-left: .28125em; // calculated   width; + } + + &.default-layout .title .affected-objects { + margin-left: 0; + } +}