Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

widgets: Present to-do items with flexboxes.

Karl Stolleyda6f69f8b2bb
diff --git a/web/styles/widgets.css b/web/styles/widgets.css
index ad998a8b425..05fcf3efd1a 100644
--- a/web/styles/widgets.css
+++ b/web/styles/widgets.css
@@ -33,11 +33,18 @@
& label.checkbox {
display: flex; /* Arrange that a multi-line description line wraps properly. */
- position: relative;
- vertical-align: top;
+ /* Keep checkboxes vertically aligned, including with multi-line tasks. */
+ align-items: baseline;
+ /* Reset things from .new-style */
+ gap: 5px;
+ position: static;
+ min-height: 0;
& input[type="checkbox"] {
~ .custom-checkbox {
+ position: static;
+ margin-right: 0;
+
height: 12px;
width: 12px;
border: 2px solid hsl(156deg 28% 70%);