From 8aedc31d724f53108a27ba109e2c0c04ae235052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20M=C3=BCller?= Date: Tue, 4 Jun 2024 13:11:59 +0200 Subject: [PATCH] Compatibility with Kirby 4+ --- src/ButtonField.vue | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/ButtonField.vue b/src/ButtonField.vue index f9389f3..c90b3e6 100644 --- a/src/ButtonField.vue +++ b/src/ButtonField.vue @@ -3,18 +3,18 @@
- -
- +
+ Please wait
-
- +
+ Error
@@ -43,14 +43,8 @@ methods: { async onClick(){ if( this.open === true ){ - /* - open url in new tab - */ openUrlInNewTab( this ); } else { - /* - trigger webhook - */ triggerWebhook( this ); } } @@ -65,9 +59,9 @@ } .k-button-field-button { - display: block; + display: flex; + justify-content: flex-start; width: 100%; - text-align: left; } \ No newline at end of file