mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +08:00
Fix tags design [SCI-11566]
This commit is contained in:
parent
6c1738faa9
commit
31c63b741b
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -362,6 +362,7 @@ label {
|
|||
border-radius: 10px;
|
||||
color: $color-white;
|
||||
display: flex;
|
||||
float: left;
|
||||
height: 20px;
|
||||
margin-left: 5px;
|
||||
padding: 2px 8px;
|
||||
|
|
Loading…
Add table
Reference in a new issue