Skip to content

Commit

Permalink
Unit metadata edit: Add missing padding (#2913)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <dev@florianhotze.com>
  • Loading branch information
florian-h05 authored Dec 11, 2024
1 parent b623325 commit dfd1e45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<f7-block-header>
<f7-block-header class="padding-horizontal">
<b style="color: var(--f7-theme-color) !important;">WARNING: Changing the internal unit can corrupt your persisted data!</b>
</f7-block-header>
<f7-list>
Expand All @@ -13,7 +13,7 @@
:value="metadata.value"
@blur="(evt) => metadata.value = evt.target.value" />
</f7-list>
<f7-block-footer class="param-description">
<f7-block-footer class="param-description padding-horizontal">
<small>All processed values are internally normalized to the specified <code>unit</code>. The normalized value is used to propagate the value to external integrations (e.g. persistence, REST API, WebSocket) so these values will always have the specified unit and scale.
<br>
Changing the <code>unit</code> will change the values that these systems receive.
Expand Down

0 comments on commit dfd1e45

Please sign in to comment.