Skip to content

Commit

Permalink
css: improve blog index rendering on mobile using flexbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Jan 25, 2024
1 parent feb1405 commit b8aa620
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
list-style: none;
padding-inline-start: 1em;

.post-date {
display: inline-block;
width: 4.5em;
text-align: right;
padding-right: .5em;
li {
display: flex;
flex-direction: row;
gap: .5em;

.post-date {
flex: 0 0 4.5em;
text-align: right;
}
}
}
}

0 comments on commit b8aa620

Please sign in to comment.