Skip to content

Commit

Permalink
fix: Correctly indent Tasks search results in Live Preview (#2489)
Browse files Browse the repository at this point in the history
In Tasks search results viewed in Live Preview, lines
long enough to wrap  were not aligned correctly
down the left hand side.

Fixes #2361

Fix supplied by @mackaaij

Co-authored-by: Patrick Mackaaij <[email protected]>
  • Loading branch information
claremacrae and mackaaij authored Dec 8, 2023
1 parent 6bee5cb commit 75d6b18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

}

/* Fix indentation of wrapped task lines in Tasks search results, when in Live Preview. */
ul.contains-task-list .task-list-item-checkbox {
margin-inline-start: calc(var(--checkbox-size) * -1.5) !important;
}

.plugin-tasks-query-explanation{
/* Prevent long explanation lines wrapping, so they are more readable,
especially on small screens.
Expand Down

0 comments on commit 75d6b18

Please sign in to comment.