From 8174fb117634e3579d27f1996f53dda9115abfbf 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 | 18 +++++++++--------- webapp/src/views/MqttInfoView.vue | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/webapp/src/views/MqttAdminView.vue b/webapp/src/views/MqttAdminView.vue index 0420a1fc..daa9fb4b 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 }} @@ -103,7 +103,7 @@ /> - + {{ $t('mqttinfo.ClientCertifcateInfo') }} {{ mqttDataList.mqtt_client_cert_info }}