MQTT dashboard nitpicks

This commit is contained in:
Sergey Lyubka committed 2023-12-16 19:57:18 +00:00
1 parent 79e138ef28
commit bbd27a0a9c
6 files changed
+401 -388

No files matched your search

@@ -230,7 +230,7 @@ export function Setting(props) {
if (props.type == 'select') input = SelectValue;
return html`
<div class=${props.cls || 'grid grid-cols-2 gap-2 my-1'}>
<label class="flex items-center text-sm text-gray-700 mr-2 font-medium">${props.title}<//>
<label class="flex items-center text-sm text-gray-700 mr-2 font-medium ${props.title || 'hidden'}">${props.title}<//>
<div class="flex items-center">${h(input, props)}<//>
<//>`;
};