From 2d3ccfba4d9735a380d69dea3f5153ccf5622114 Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Thu, 11 Aug 2022 14:17:57 -0400 Subject: [PATCH] Tweak close button CSS some more. Add flex-shrink:0 so that the button is square, and reduce its size by removing the box-sizing:content-box (17x17 -> 15x15), and also remove the left margin because the padding in the button is enough. --- src/components/timeline/Track.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/timeline/Track.css b/src/components/timeline/Track.css index 2748930054..f9f43a4a58 100644 --- a/src/components/timeline/Track.css +++ b/src/components/timeline/Track.css @@ -66,15 +66,15 @@ overflow: hidden; width: 15px; height: 15px; - box-sizing: content-box; + flex-shrink: 0; padding: 1px; border: 0; - margin: 0 2px; background: url(../../../res/img/svg/close-dark.svg) no-repeat center; background-origin: content-box; background-size: contain; border-radius: 2px; color: transparent; + margin-inline-end: 2px; -moz-user-focus: ignore; }