From 9da4ec220ed10b3f3fc01ed67e06f872c1b2380f Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 16 Jan 2025 11:21:30 +0100 Subject: [PATCH] item-list.less: Always apply `calculated  ` margin to `.title` content --- asset/css/list/item-list.less | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/asset/css/list/item-list.less b/asset/css/list/item-list.less index c5c0bd28..132f4fc4 100644 --- a/asset/css/list/item-list.less +++ b/asset/css/list/item-list.less @@ -18,6 +18,18 @@ padding: .5em 0; width: 0; margin-left: .5em; + + .title > * { + margin: 0 .28125em; // 0 calculated   width + + &:first-child { + margin-left: 0; + } + + &:last-child { + margin-right: 0; + } + } } .visual { @@ -62,18 +74,6 @@ white-space: nowrap; min-width: 0; - > * { - margin: 0 .28125em; // 0 calculated   width - - &:first-child { - margin-left: 0; - } - - &:last-child { - margin-right: 0; - } - } - .subject { .text-ellipsis(); }