From dad46ee23ac4e2268e4ef36fb7fc4d744d62531e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 21 Aug 2024 05:49:26 +0300 Subject: [PATCH] multirow bookmarks: collapse inline margin on bookmark items This is to prevent dragging issues where the new position of the bookmark is wrong if drop happens in margin area. --- chrome/multi-row_bookmarks.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/multi-row_bookmarks.css b/chrome/multi-row_bookmarks.css index d0c8a71..203663b 100644 --- a/chrome/multi-row_bookmarks.css +++ b/chrome/multi-row_bookmarks.css @@ -31,8 +31,9 @@ See the above repository for updates as well as full license text. */ /* Hide the all-bookmarks button */ #PlacesChevron{ display: none } -/* Add some spacing between rows */ +/* Add some spacing between rows, inline margin is collapsed to prevent dragging issues */ #PlacesToolbarItems > .bookmark-item{ - margin: var(--multirow-bmb-row-margin) 3px !important; + margin: var(--multirow-bmb-row-margin) 0 !important; + border-inline: 2px solid transparent; visibility: visible !important; /* Just in case they would be hidden for some reason */ }