From ef5f38f431dbedbecc81135702764cdc08797177 Mon Sep 17 00:00:00 2001 From: boeserwolf Date: Sun, 19 Apr 2020 12:45:04 +0300 Subject: Make boards sortable --- client/components/boards/boardsList.styl | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'client/components/boards/boardsList.styl') diff --git a/client/components/boards/boardsList.styl b/client/components/boards/boardsList.styl index ae366e83..d12a0337 100644 --- a/client/components/boards/boardsList.styl +++ b/client/components/boards/boardsList.styl @@ -11,6 +11,19 @@ $spaceBetweenTiles = 16px box-sizing: border-box position: relative + &.placeholder:after + content: ''; + display: block; + background: darken(white, 20%) + border-radius: 3px; + height: 106px; + margin: 8px; + + &.ui-sortable-helper + cursor: grabbing + transform: rotate(4deg) + display: block !important + &.starred .fa-star, .fa-star-o @@ -183,7 +196,7 @@ $spaceBetweenTiles = 16px overflow: scroll li - width: 50% + width: 50% .board-list-item overflow: hidden -- cgit v1.2.3-1-g7c22 From e63e7b11318502e9f1238fcd7efff3c30590b29c Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Sat, 25 Apr 2020 13:25:21 +0200 Subject: Allow variable height for board list items This fixes https://github.com/wekan/wekan/issues/3041. --- client/components/boards/boardsList.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/boards/boardsList.styl') diff --git a/client/components/boards/boardsList.styl b/client/components/boards/boardsList.styl index d12a0337..347881d6 100644 --- a/client/components/boards/boardsList.styl +++ b/client/components/boards/boardsList.styl @@ -33,7 +33,7 @@ $spaceBetweenTiles = 16px overflow: hidden; background-color: #999 color: #f6f6f6 - height: 90px + height: auto font-size: 16px line-height: 22px border-radius: 3px -- cgit v1.2.3-1-g7c22 From ed0c64a270031448a9956b40084da6f075f8601a Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Sat, 25 Apr 2020 13:26:21 +0200 Subject: Allow words in title/description to be able to break and wrap onto the next line --- client/components/boards/boardsList.styl | 1 + 1 file changed, 1 insertion(+) (limited to 'client/components/boards/boardsList.styl') diff --git a/client/components/boards/boardsList.styl b/client/components/boards/boardsList.styl index 347881d6..d92c9cf3 100644 --- a/client/components/boards/boardsList.styl +++ b/client/components/boards/boardsList.styl @@ -44,6 +44,7 @@ $spaceBetweenTiles = 16px margin: ($spaceBetweenTiles/2) position: relative text-decoration: none + word-wrap: break-word &.tile background-size: auto -- cgit v1.2.3-1-g7c22 From 6afc9259f084717a0cc3ce6d66979fd7c1471939 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 28 Apr 2020 15:14:10 +0300 Subject: Smaller height for Add Board button. Thanks to xet7 ! --- client/components/boards/boardsList.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/boards/boardsList.styl') diff --git a/client/components/boards/boardsList.styl b/client/components/boards/boardsList.styl index d92c9cf3..97d4f195 100644 --- a/client/components/boards/boardsList.styl +++ b/client/components/boards/boardsList.styl @@ -69,7 +69,7 @@ $spaceBetweenTiles = 16px .label font-weight: normal - line-height:90px + line-height: 56px :hover background-color:#939393 -- cgit v1.2.3-1-g7c22