layout: improve list of post taxonomy terms
Wraps the flex of the taxonomy term list to prevent the content being larger than small screens. Also improves the solution for the coma separator, to get a coma after a term (and not before), and not after the last item of the list. Closes #10 Co-Authored-by: Igor Milhit <igor@milhit.ch>pull/32/head
parent
920fe4d156
commit
16891aa840
|
@ -25,6 +25,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
> ul {
|
> ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
@ -35,6 +36,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-taxonomies + .post-taxonomies:before {
|
.post-taxonomies:not(:last-child) {
|
||||||
|
&::after {
|
||||||
content: ", ";
|
content: ", ";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue