Make tags container flex
This commit is contained in:
@@ -3,7 +3,7 @@ const { tags, all } = Astro.props;
|
||||
---
|
||||
|
||||
{all && <h3>View posts by tag</h3>}
|
||||
<div>
|
||||
<div class="tags">
|
||||
{
|
||||
tags &&
|
||||
tags.map((tag) => (
|
||||
|
||||
@@ -146,6 +146,11 @@ ul.tags-list {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin-right: 20px;
|
||||
|
||||
Reference in New Issue
Block a user