From 9132a88963bfbf9c07240860972ca63ac617a712 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Sat, 26 Oct 2024 23:08:58 +0200 Subject: [PATCH] webapp: MQTT: use v-if in favor of v-show if we hide elements (which is done using style="display:none;"), they are still part of the DOM and mess with CSS rules that shall apply to the last element of a card or the last row of a table. --- webapp/src/views/MqttAdminView.vue | 16 ++++++++-------- webapp/src/views/MqttInfoView.vue | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/webapp/src/views/MqttAdminView.vue b/webapp/src/views/MqttAdminView.vue index 8db81d2..da62b78 100644 --- a/webapp/src/views/MqttAdminView.vue +++ b/webapp/src/views/MqttAdminView.vue @@ -14,7 +14,7 @@ /> - + {{ $t('mqttinfo.RootCertifcateInfo') }} {{ mqttDataList.mqtt_root_ca_cert_info }} @@ -93,7 +93,7 @@ /> - + {{ $t('mqttinfo.ClientCertifcateInfo') }} {{ mqttDataList.mqtt_client_cert_info }}