fix(table): label spacing when wrapping

This commit is contained in:
kolaente 2025-11-19 22:51:02 +01:00
parent a76ff31dbc
commit 3c75e0a9b6
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 7 deletions

View File

@ -21,8 +21,5 @@ const {getLabelStyles} = useLabelStyles()
<style scoped lang="scss">
.tag {
& + & {
margin-inline-start: 0.5rem;
}
}
</style>

View File

@ -26,11 +26,13 @@ const displayLabels = computed(() =>
<style lang="scss" scoped>
.label-wrapper {
display: inline;
display: inline-flex;
flex-wrap: wrap;
gap: 0.25rem;
align-items: flex-start;
:deep(.tag) {
margin-block-start: .125rem;
margin-block-end: .125rem;
margin: 0;
}
}
</style>