From f75f5689de81df515b81fadda30465ff867d7969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sat, 9 Sep 2023 22:43:11 +0000 Subject: [PATCH] DoorMapEditor layout improvements --- ui/src/components/BulmaButton.vue | 8 +++- ui/src/components/DoorMapEditor.vue | 64 +++++++++++++---------------- 2 files changed, 35 insertions(+), 37 deletions(-) diff --git a/ui/src/components/BulmaButton.vue b/ui/src/components/BulmaButton.vue index 40d75ac..3dccbcd 100644 --- a/ui/src/components/BulmaButton.vue +++ b/ui/src/components/BulmaButton.vue @@ -3,7 +3,7 @@ - + {{ text }} @@ -16,9 +16,15 @@ import { Options, Vue } from "vue-class-component"; type: String, required: false, }, + text: { + type: String, + required: false, + default: "", + }, }, }) export default class extends Vue { public icon?: string; + public text?: string; } diff --git a/ui/src/components/DoorMapEditor.vue b/ui/src/components/DoorMapEditor.vue index 8d70c16..dd21415 100644 --- a/ui/src/components/DoorMapEditor.vue +++ b/ui/src/components/DoorMapEditor.vue @@ -3,49 +3,20 @@