2021-06-21 10:40:14 +00:00
|
|
|
:root {
|
|
|
|
--csv-list-separator: ',';
|
|
|
|
}
|
|
|
|
%csv-list {
|
|
|
|
// mainly used for block elements, you may need to overwrite this with an
|
|
|
|
// inline-flex to keep any inline-ness
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
%csv-list > * {
|
|
|
|
@extend %csv;
|
|
|
|
}
|
|
|
|
%csv:not(:last-child)::after {
|
|
|
|
display: inline;
|
|
|
|
content: var(--csv-list-separator);
|
2022-03-15 12:54:14 +00:00
|
|
|
vertical-align: initial;
|
2021-06-21 10:40:14 +00:00
|
|
|
margin-right: 0.3em;
|
2022-04-11 09:05:02 +00:00
|
|
|
background-color: var(--transparent);
|
2021-06-21 10:40:14 +00:00
|
|
|
}
|