UI: reduce height of main screen (#12507)
This commit is contained in:
parent
7b012b2b34
commit
80826f8d83
4 changed files with 8 additions and 5 deletions
|
|
@ -12,7 +12,7 @@
|
|||
{{ minSocLabel }}
|
||||
</strong>
|
||||
<strong v-else-if="targetChargeEnabled">
|
||||
<span class="text-decoration-underline"> {{ targetTimeLabel() }}</span>
|
||||
<span class="targetTimeLabel"> {{ targetTimeLabel() }}</span>
|
||||
<div
|
||||
class="extraValue text-nowrap"
|
||||
:class="{ 'text-warning': planOverrun }"
|
||||
|
|
@ -304,4 +304,7 @@ export default {
|
|||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.targetTimeLabel {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<slot name="value">
|
||||
<AnimatedNumber v-if="valueFmt" :to="value" :format="valueFmt" />
|
||||
<span v-else>{{ value }}</span>
|
||||
<div class="extraValue text-nowrap">
|
||||
<div v-if="extraValue != null" class="extraValue text-nowrap">
|
||||
{{ extraValue || " " }}
|
||||
</div>
|
||||
</slot>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
}}
|
||||
</div>
|
||||
|
||||
<div class="details d-flex align-items-start mb-3">
|
||||
<div class="details d-flex align-items-start mb-2">
|
||||
<div>
|
||||
<div class="d-flex align-items-center">
|
||||
<LabelAndValue
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
class="flex-grow-1"
|
||||
:label="vehicleSocTitle"
|
||||
:value="formattedSoc"
|
||||
:extraValue="range ? `${fmtNumber(range, 0)} ${rangeUnit}` : null"
|
||||
:extraValue="range ? `${fmtNumber(range, 0)} ${rangeUnit}` : ''"
|
||||
data-testid="current-soc"
|
||||
align="start"
|
||||
/>
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
class="flex-grow-1"
|
||||
:label="$t('main.loadpoint.charged')"
|
||||
:value="fmtEnergy(chargedEnergy)"
|
||||
:extraValue="chargedSoc"
|
||||
:extraValue="chargedSoc || ''"
|
||||
data-testid="current-energy"
|
||||
align="start"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue