From fdf33d55aa9c69e796d63cb9baa8a71823020a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= <14975046+skjnldsv@users.noreply.github.com> Date: Thu, 26 Nov 2026 22:13:13 +0100 Subject: [PATCH] fix(employees): room around the warning chips in the list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A region code and its "Region needed" chip were stacked with no space between them, the full-size chips widened their columns until the last ones left the page, and the names sat a few pixels above the rest of their row. Value and chip now sit in a wrapping row with a gap, the chips in the table are compact, and every cell is centred vertically. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com> --- src/views/hr/HrEmployees.vue | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/views/hr/HrEmployees.vue b/src/views/hr/HrEmployees.vue index 734c57bd..4f00c46f 100644 --- a/src/views/hr/HrEmployees.vue +++ b/src/views/hr/HrEmployees.vue @@ -120,14 +120,14 @@ - + { &__table.tbl { th, td { padding-inline: 8px; + vertical-align: middle; } } + // Compact warning chips: at full size one chip widened its column enough to + // push the last columns off the page + &__table.tbl :deep(.nc-chip) { + --chip-size: 20px; + font-size: var(--font-size-small); + } + + // A value and its warning chip side by side, wrapping with space between + &__cell { + display: inline-flex; + flex-wrap: wrap; + align-items: center; + gap: 4px 8px; + } + &__name { display: inline-flex; align-items: center; gap: 10px; + vertical-align: middle; } &__none {