Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorTim Krief <tim@timkrief.com>2020-07-21 16:23:35 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2020-07-23 21:22:28 +0300
commit745e50b85f0725a8d983dea75342c3789fefac09 (patch)
tree24fdd73c9c8a377153f3c4784730f8725698fbdf /css
parentaaf8a3a8281d563c72e00471ce6ccea30102bcd5 (diff)
Fixed an edge case for the style of the last element
Fixed an edge case where the style would not work for the last element of the tree with all subtasks hidden and the input field for adding subtasks displayed. Signed-off-by: Tim Krief <tim@timkrief.com>
Diffstat (limited to 'css')
-rw-r--r--css/src/style.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/css/src/style.scss b/css/src/style.scss
index efe364c8..196e8f97 100644
--- a/css/src/style.scss
+++ b/css/src/style.scss
@@ -437,6 +437,14 @@ $priority_colors: ($red_overdue, $red_overdue, $red_overdue, $red_overdue, $yell
*/
@mixin remove-last-squared-corners($sublevels-left: 8) {
+ &>.add-task{
+ &::before{
+ display: block;
+ }
+ &::after{
+ display: none;
+ }
+ }
&::before,
&>ol:empty::before {
display: none !important;
@@ -496,6 +504,7 @@ $priority_colors: ($red_overdue, $red_overdue, $red_overdue, $red_overdue, $yell
}
&.subtasksHidden>.subtasks-container::before,
+ &.subtasksHidden>.subtasks-container>.add-task::before,
&.subtasksHidden>.subtasks-container>.add-task::after,
&:not(.subtasksHidden)>.subtasks-container>.add-task::before,
&>.subtasks-container>ol::before {
@@ -509,6 +518,9 @@ $priority_colors: ($red_overdue, $red_overdue, $red_overdue, $red_overdue, $yell
position: relative;
z-index: -1;
}
+ &.subtasksHidden>.subtasks-container>.add-task::before{
+ display: none;
+ }
// Apply colors to checkboxes for each non-zero priority level
@for $i from 1 through 9 {