Truncate long loadpoints names (#6062)
This commit is contained in:
parent
04308d9dac
commit
c166a68744
2 changed files with 3 additions and 2 deletions
|
|
@ -42,9 +42,10 @@ const state = reactive({
|
|||
:chargeCurrent="0"
|
||||
/>
|
||||
</Variant>
|
||||
<Variant title="disabled">
|
||||
<Variant title="disabled, long title">
|
||||
<Loadpoint
|
||||
v-bind="state"
|
||||
title="Charging point with a very very very long title!!!1!"
|
||||
remoteDisabled="soft"
|
||||
remoteDisabledSource="Sunny Home Manager"
|
||||
mode="now"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="loadpoint pt-4 pb-2 px-3 px-sm-4 mx-2 mx-sm-0">
|
||||
<div class="d-block d-sm-flex justify-content-between align-items-center mb-3">
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<div class="d-flex justify-content-between align-items-center mb-3 text-truncate">
|
||||
<h3 class="me-2 mb-0 text-truncate">
|
||||
{{ title || $t("main.loadpoint.fallbackName") }}
|
||||
</h3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue