From ab595917ba559e6ea8487d2f0cb8999bbaccc153 Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Thu, 6 Jan 2022 15:29:15 -0500 Subject: [PATCH] Fix color width inconsistency (#10895) Fixes #10894 --- app/src/interfaces/select-color/select-color.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/interfaces/select-color/select-color.vue b/app/src/interfaces/select-color/select-color.vue index 7b6323a101..b0f19752cb 100644 --- a/app/src/interfaces/select-color/select-color.vue +++ b/app/src/interfaces/select-color/select-color.vue @@ -40,23 +40,23 @@ class="color-data-inputs" :style="{ 'grid-template-columns': opacity - ? width === 'half' + ? width.startsWith('half') ? 'repeat(4, 1fr)' : 'repeat(6, 1fr)' - : width === 'half' + : width.startsWith('half') ? 'repeat(3, 1fr)' : 'repeat(5, 1fr)', }" - :class="{ stacked: width === 'half' }" + :class="{ stacked: width.startsWith('half') }" >