webapp: avoid inline style for inverter channel info value

This commit is contained in:
Bernhard Kirchen 2024-10-26 23:23:08 +02:00
parent f6e13a3486
commit 1fed0a8121
2 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,7 @@
<tr v-for="(property, key) in channelData" :key="`prop-${key}`"> <tr v-for="(property, key) in channelData" :key="`prop-${key}`">
<template v-if="key != 'name' && property"> <template v-if="key != 'name' && property">
<th scope="row">{{ $t('inverterchannelproperty.' + key) }}</th> <th scope="row">{{ $t('inverterchannelproperty.' + key) }}</th>
<td style="text-align: right; padding-right: 0"> <td class="value">
{{ {{
$n(property.v, 'decimal', { $n(property.v, 'decimal', {
minimumFractionDigits: property.d, minimumFractionDigits: property.d,

View File

@ -52,3 +52,8 @@ div.card.card-table div.card-body {
div.card div.card-body > :last-child { div.card div.card-body > :last-child {
margin-bottom: auto !important; margin-bottom: auto !important;
} }
div.card.card-table table .value {
text-align: right;
padding-right: 0;
}