From e1c04b4e7f201ea5cdce41a05266b323d7af9e75 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 19 Oct 2025 22:52:32 +0200 Subject: [PATCH] fix: align progress bar to start at title position - Add padding-left to progress bar container to offset it to title position - Remove margin from inner fill - Progress bar now visually starts where the title starts, not at the icon --- src/components/BookmarkViews/CompactView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/BookmarkViews/CompactView.tsx b/src/components/BookmarkViews/CompactView.tsx index 22871ba6..589d08d3 100644 --- a/src/components/BookmarkViews/CompactView.tsx +++ b/src/components/BookmarkViews/CompactView.tsx @@ -81,7 +81,8 @@ export const CompactView: React.FC = ({ width: '100%', background: 'var(--color-border)', overflow: 'hidden', - margin: '0' + margin: '0', + paddingLeft: '1.85rem' }} >
= ({ height: '100%', width: `${Math.round(readingProgress * 100)}%`, background: progressColor, - transition: 'width 0.3s ease, background 0.3s ease', - marginLeft: '1.85rem' + transition: 'width 0.3s ease, background 0.3s ease' }} />