From acf389482494326c58788f5a6ed0b3eeaddacbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Mert=20Y=C4=B1ld=C4=B1ran?= Date: Tue, 18 Jan 2022 17:37:58 +0300 Subject: [PATCH] Fix `EntryItem` border on heading mode (#661) --- ui/src/components/EntryListItem/EntryListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/EntryListItem/EntryListItem.tsx b/ui/src/components/EntryListItem/EntryListItem.tsx index fb7a6dc8a..55d0ec2be 100644 --- a/ui/src/components/EntryListItem/EntryListItem.tsx +++ b/ui/src/components/EntryListItem/EntryListItem.tsx @@ -140,7 +140,7 @@ export const EntryItem: React.FC = ({entry, style, headingMode}) => setFocusedEntryId(entry.id.toString()); }} style={{ - border: isSelected ? `1px ${entry.proto.backgroundColor} solid` : "1px transparent solid", + border: isSelected && !headingMode ? `1px ${entry.proto.backgroundColor} solid` : "1px transparent solid", position: !headingMode ? "absolute" : "unset", top: style['top'], marginTop: !headingMode ? style['marginTop'] : "10px",