From 0a915b3fe7152263e8da80df8a65653cd761d943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Mert=20Y=C4=B1ld=C4=B1ran?= Date: Wed, 15 Dec 2021 12:28:46 +0300 Subject: [PATCH] Fix the CSS issue in `Queryable` component for `src.name` field on heading mode (#530) --- 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 0b9a860a4..60c0f5db5 100644 --- a/ui/src/components/EntryListItem/EntryListItem.tsx +++ b/ui/src/components/EntryListItem/EntryListItem.tsx @@ -161,7 +161,7 @@ export const EntryItem: React.FC = ({entry, focusedEntryId, setFocus displayIconOnMouseOver={true} flipped={true} style={{marginTop: "-4px", overflow: "visible"}} - iconStyle={{marginTop: "4px", left: "68px", position: "absolute"}} + iconStyle={!headingMode ? {marginTop: "4px", left: "68px", position: "absolute"} : {marginTop: "4px", left: "calc(50vw + 41px)", position: "absolute"}} >