From 3cefbf1bd5d588355829cbe9dd23cf2253af547e Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Sat, 11 Oct 2025 10:25:30 +0800 Subject: [PATCH] fix: update the CSS for the event prompt to vertically center it within the container. (#507) --- src/views/dashboard/controls/Event.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/controls/Event.vue b/src/views/dashboard/controls/Event.vue index 48cbb1ed..ee6c3632 100644 --- a/src/views/dashboard/controls/Event.vue +++ b/src/views/dashboard/controls/Event.vue @@ -164,8 +164,10 @@ limitations under the License. --> } .event-inspector { - text-align: center; - line-height: 30px; + display: flex; + align-items: center; + justify-content: center; + height: 100%; font-size: $font-size-normal; font-weight: bold; }