From 694073d2237e92391fc87ad6e9d7c8c564319337 Mon Sep 17 00:00:00 2001 From: Key Date: Mon, 5 Feb 2024 20:43:27 +0100 Subject: [PATCH] Fix custom rolls in run encounter --- package-lock.json | 4 +- package.json | 2 +- src/components/combat/actions/Actions.vue | 10 +- .../combat/actions/custom/CustomRoll.vue | 143 +++++++++--------- 4 files changed, 83 insertions(+), 76 deletions(-) diff --git a/package-lock.json b/package-lock.json index 16e14981..902fabf0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "harmless_key", - "version": "2.20.10", + "version": "2.20.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "harmless_key", - "version": "2.20.10", + "version": "2.20.11", "dependencies": { "@octokit/rest": "^19.0.5", "@quasar/extras": "^1.16.9", diff --git a/package.json b/package.json index 7af679de..1f95bf64 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.20.10", + "version": "2.20.11", "name": "harmless_key", "description": "A Dungeons and Dragons Combat Tracker", "productName": "Harmless Key", diff --git a/src/components/combat/actions/Actions.vue b/src/components/combat/actions/Actions.vue index 53e8712d..14f8625d 100644 --- a/src/components/combat/actions/Actions.vue +++ b/src/components/combat/actions/Actions.vue @@ -285,19 +285,26 @@ export default { } } } + &::v-deep { + .q-tab { + width: 100%; + } + } } .modes { &::v-deep { .q-tabs { + &__content { padding: 10px; margin: -10px; gap: 0.5rem; - + .q-tab { border: solid 1px transparent; border-radius: $border-radius; + width: 100%; &:focus { outline: $outline; @@ -308,6 +315,7 @@ export default { } } + .q-tab-panel { padding: 15px 0 0 0 !important; } diff --git a/src/components/combat/actions/custom/CustomRoll.vue b/src/components/combat/actions/custom/CustomRoll.vue index 259d4e03..181cbd3b 100644 --- a/src/components/combat/actions/custom/CustomRoll.vue +++ b/src/components/combat/actions/custom/CustomRoll.vue @@ -16,90 +16,89 @@ ]" @input="setType" /> - + +
+ -
- - -
+
- -

- Rolls - -