Fix the CSS issue in Queryable component for src.name field on heading mode (#530)

This commit is contained in:
M. Mert Yıldıran 2021-12-15 12:28:46 +03:00 committed by GitHub
parent a830bbe023
commit 0a915b3fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ export const EntryItem: React.FC<EntryProps> = ({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"}}
>
<span
title="Source Name"