Skip to content

Commit

Permalink
fix: Reduce visual strength of collection in doc breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor committed Dec 18, 2024
1 parent f17926f commit 9b68e68
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/components/DocumentMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ const DocumentMeta: React.FC<Props> = ({
{showCollection && collection && (
<span>
&nbsp;{t("in")}&nbsp;
<strong>
<Strong>
<DocumentBreadcrumb document={document} onlyText />
</strong>
</Strong>
</span>
)}
{showParentDocuments && nestedDocumentsCount > 0 && (
Expand All @@ -210,6 +210,10 @@ const DocumentMeta: React.FC<Props> = ({
);
};

const Strong = styled.strong`
font-weight: 550;
`;

const Container = styled(Flex)<{ rtl?: boolean }>`
justify-content: ${(props) => (props.rtl ? "flex-end" : "flex-start")};
color: ${s("textTertiary")};
Expand Down

0 comments on commit 9b68e68

Please sign in to comment.