fix: specify correct width for tags

This commit is contained in:
Ivan R. 2024-03-11 19:59:21 +05:00
parent 8dde510a59
commit ca1d175761
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
2 changed files with 6 additions and 3 deletions

View file

@ -20,15 +20,17 @@ const { pubDate, slug, title, tags } = Astro.props
<style>
.note {
margin-bottom: 15px;
display: flex;
flex-direction: column;
gap: 6px;
}
.dash {
display: none;
}
@media screen and (min-width: 600px) {
@media screen and (min-width: 700px) {
.note {
display: flex;
gap: 6px;
flex-direction: row;
margin-bottom: 5px;
}
.dash {

View file

@ -13,6 +13,7 @@ const { name, slug } = Astro.props
<style>
.tag {
width: fit-content;
font-size: 10px;
background-color: #323232;
padding: 2px 8px;