瀏覽代碼

Merge branch 'lichtamberg-devel' into devel

Lauri Ojansivu 7 年之前
父節點
當前提交
0aa78d9847
共有 2 個文件被更改,包括 15 次插入3 次删除
  1. 9 0
      CHANGELOG.md
  2. 6 3
      client/components/cards/checklists.styl

+ 9 - 0
CHANGELOG.md

@@ -1,3 +1,12 @@
+# Upcoming Wekan release
+
+This release adds the following new features:
+
+* [Checklist items lineheight to 18px, and positioning
+   improvements](https://github.com/wekan/wekan/issues/1619).
+
+Thanks to GitHub user lichtamberg for contributions.
+
 # v0.92 2018-05-01 Wekan release
 
 This release tries to fix the following bugs, please test:

+ 6 - 3
client/components/cards/checklists.styl

@@ -94,7 +94,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
 
 .checklist-item
   margin: 0 0 0 0.1em
-  line-height: 14px
+  line-height: 18px
   font-size: 1.1em
   margin-top: 3px
   display: flex
@@ -114,7 +114,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
     background-color: darken(white, 8%)
 
   .check-box
-    margin-top: 0px
+    margin: 0.1em 0 0 0;
     &.is-checked
       border-bottom: 2px solid #3cb500
       border-right: 2px solid #3cb500
@@ -125,6 +125,9 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
     &.is-checked
       color: #8c8c8c
       font-style: italic
+    & .viewer
+      p
+        margin-bottom: 2px
 
 .js-delete-checklist-item
   margin: 0 0 0.5em 1.33em
@@ -132,5 +135,5 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
   padding: 12px 0 0 0
 
 .add-checklist-item
-  margin: 0 0 0.5em 1.33em
+  margin: 0.2em 0 0.5em 1.33em
   display: inline-block