Fix editor
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
philipp lang 2024-04-25 23:17:05 +02:00
parent 868dc5cf02
commit 60c80deefe
1 changed files with 5 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class ConditionTune {
if (this.hasData()) {
this.wrapper.querySelector('[data-content]').className = 'p-1 border border-blue-100 rounded';
this.wrapper.querySelector('[data-tooltip]').className =
'inline-block tracking-wider font-semibold ml-2 px-2 py-1 items-center text-xs leading-none bg-blue-100 text-blue-900 rounded-t-lg';
'mt-1 inline-block tracking-wider font-semibold ml-2 mr-2 px-2 py-1 items-center text-xs leading-none bg-blue-100 text-blue-900 rounded-t-lg';
this.wrapper.querySelector('[data-tooltip]').innerHTML = this.descriptionName();
} else {
this.wrapper.querySelector('[data-content]').className = '';
@ -164,6 +164,10 @@ class ConditionTune {
parts.push(i.value.join(', '));
}
if (typeof i.value === 'boolean') {
parts.push(i.value ? 'An' : 'Aus');
}
return parts.join(' ');
})
.join(', ')