From 457609cf00bf5cccd379b76aed512477a4a7ebf5 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 20 Nov 2026 16:22:45 +0100 Subject: [PATCH] fix(edit): align the linear scale labels with the other inputs The editor grid of a linear scale question only kept clear of the question's action menu on narrow screens. On wider screens the input for the label of the highest value reached past the right edge of the title and description inputs. Keep the same end margin at every width. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger --- src/components/Questions/QuestionLinearScale.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Questions/QuestionLinearScale.vue b/src/components/Questions/QuestionLinearScale.vue index 059df0f8c..b2b13b0f9 100644 --- a/src/components/Questions/QuestionLinearScale.vue +++ b/src/components/Questions/QuestionLinearScale.vue @@ -366,6 +366,7 @@ export default defineComponent({ &__edit { margin-inline-start: -12px; + margin-inline-end: calc(var(--clickable-area-large) - 2px); display: grid; grid-template-columns: 120px 1fr 120px; grid-template-areas: @@ -377,10 +378,6 @@ export default defineComponent({ grid-template-columns: 1fr; grid-template-areas: 'lowest-title' 'lowest' 'options' 'highest-title' 'highest'; } - - @media (max-width: 768px) { - margin-inline-end: calc(var(--clickable-area-large) - 2px); - } } .question-linear-scale {