Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make tags wrapping properly #5422

Merged
merged 1 commit into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function BlogPostItem(props: Props): JSX.Element {
[styles.blogPostDetailsFull]: isBlogPostPage,
})}>
{tags.length > 0 && (
<div className="col">
<div className={clsx('col', {'col--9': !isBlogPostPage})}>
<TagsListInline tags={tags} />
</div>
)}
Expand All @@ -161,7 +161,7 @@ function BlogPostItem(props: Props): JSX.Element {
)}

{!isBlogPostPage && truncated && (
<div className="col text--right">
<div className="col col--3 text--right">
<Link
to={metadata.permalink}
aria-label={`Read more about ${title}`}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
*/

.tags {
list-style: none;
display: inline-flex;
display: inline;
}

.tag {
margin-right: 0.4rem;
margin: 0 0.4rem 0.5rem 0;
display: inline-block;
}