summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorNico <paetni1@gmail.com>2020-04-26 02:37:18 +0200
committerNico <paetni1@gmail.com>2020-04-26 02:37:18 +0200
commitfe7398faef9670ff9a1885c37673beec148faed8 (patch)
treedd41e584bec51acec8d10d89e6065e7d2b20045e /client/components
parent8e709c1b79b3134d0be95fa922c42d02bb165005 (diff)
downloadwekan-fe7398faef9670ff9a1885c37673beec148faed8.tar.gz
wekan-fe7398faef9670ff9a1885c37673beec148faed8.tar.bz2
wekan-fe7398faef9670ff9a1885c37673beec148faed8.zip
Put checkbox and label in same row
Diffstat (limited to 'client/components')
-rw-r--r--client/components/cards/cardTime.jade7
1 files changed, 4 insertions, 3 deletions
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}}