Skip to content

Commit

Permalink
webapp: avoid inline style for inverter channel info value
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen authored and tbnobody committed Nov 1, 2024
1 parent 866b539 commit 94cecc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/InverterChannelInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<tr v-for="(property, key) in channelData" :key="`prop-${key}`">
<template v-if="key != 'name' && property">
<th scope="row">{{ $t('inverterchannelproperty.' + key) }}</th>
<td style="text-align: right; padding-right: 0">
<td class="value">
{{
$n(property.v, 'decimal', {
minimumFractionDigits: property.d,
Expand Down
5 changes: 5 additions & 0 deletions webapp/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ div.card.card-table div.card-body {
div.card div.card-body > :last-child {
margin-bottom: auto !important;
}

div.card.card-table table .value {
text-align: right;
padding-right: 0;
}

0 comments on commit 94cecc2

Please sign in to comment.