From 1df36f800cea15dadd77d451ec75917ecb859bd8 Mon Sep 17 00:00:00 2001 From: Conrad Zelck <git@simpel.cc> Date: Tue, 7 Dec 2021 18:33:50 +0000 Subject: [PATCH] style: bundle checkbox and label in one div On mobile devices checkbox and corresponding label sometimes had different top position. Looked like not belonging together. Now they are in one div. If width not enough the whole div will step top posi- tion down. Signed-off-by: Conrad Zelck <git@simpel.cc> --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 14ba109..7c0330a 100644 --- a/style.css +++ b/style.css @@ -93,8 +93,8 @@ input[type="checkbox"] { margin-left: 1vmin; } -label { - margin-left: -1vmin; +.flexlabel { + display: flex; } textarea { -- GitLab