Merge pull request #8311 from aignatov-bio/ai-sci-11566-fix-tags-in-export-project

Fix tags design [SCI-11566]
This commit is contained in:
aignatov-bio 2025-03-20 11:50:09 +01:00 committed by GitHub
commit 69dfc45910
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -113,7 +113,7 @@
},
optionLabel: (data) => {
if (data.value > 0) {
return `<span class="h-6 px-1.5 flex items-center max-w-80 truncate text-sn-white rounded"
return `<span class="sci-tag max-w-80 truncate text-sn-white "
style="background:${data.params.color}">${data.label}</span>`;
}
return `<span class="my-module-tags-color new"><i class="sn-icon sn-icon-new-task"></i></span>

View file

@ -362,6 +362,7 @@ label {
border-radius: 10px;
color: $color-white;
display: flex;
float: left;
height: 20px;
margin-left: 5px;
padding: 2px 8px;