mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-07 20:40:26 +08:00
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:
commit
69dfc45910
2 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,7 @@
|
||||||
},
|
},
|
||||||
optionLabel: (data) => {
|
optionLabel: (data) => {
|
||||||
if (data.value > 0) {
|
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>`;
|
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>
|
return `<span class="my-module-tags-color new"><i class="sn-icon sn-icon-new-task"></i></span>
|
||||||
|
|
|
@ -362,6 +362,7 @@ label {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
float: left;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
|
|
Loading…
Add table
Reference in a new issue