webapp: avoid inline style for inverter channel info value
This commit is contained in:
parent
31c26b0d25
commit
bad5260630
@ -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,
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user