From fe7398faef9670ff9a1885c37673beec148faed8 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 26 Apr 2020 02:37:18 +0200 Subject: Put checkbox and label in same row --- client/components/cards/cardTime.jade | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/components') diff --git a/client/components/cards/cardTime.jade b/client/components/cards/cardTime.jade index 8af8c414..177b689f 100644 --- a/client/components/cards/cardTime.jade +++ b/client/components/cards/cardTime.jade @@ -4,9 +4,10 @@ template(name="editCardSpentTime") .fields label(for="time") {{_ 'time'}} input.js-time-field#time(type="number" step="0.01" name="time" value="{{card.getSpentTime}}" placeholder=timeFormat autofocus) - label(for="overtime") {{_ 'overtime'}} - a.js-toggle-overtime - .materialCheckBox#overtime(class="{{#if getIsOvertime}}is-checked{{/if}}" name="overtime") + .check-div + a.flex.js-toggle-overtime + .materialCheckBox#overtime(class="{{#if getIsOvertime}}is-checked{{/if}}" name="overtime") + span {{_ 'overtime'}} if error.get .warning {{_ error.get}} -- cgit v1.2.3-1-g7c22