File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -180,11 +180,12 @@ li:hover {
180180label {
181181 display : flex;
182182 align-items : center;
183- gap : 0.75 rem ;
183+ gap : 1 rem ; /* slightly larger gap between checkbox and text */
184184 cursor : pointer;
185185 flex : 1 ;
186186 margin : 0 ;
187187 padding : 2px 0 ;
188+ min-width : 0 ; /* allow label to shrink in flex layout */
188189}
189190
190191/* Improved: Checkbox alignment */
@@ -224,7 +225,10 @@ label span::after {
224225/* Improved: Text alignment */
225226label span {
226227 flex : 1 ;
227- word-break : break-word;
228+ min-width : 0 ; /* allow ellipsis when the container is narrow */
229+ overflow : hidden;
230+ text-overflow : ellipsis;
231+ white-space : nowrap; /* keep a single-line summary to maintain even spacing */
228232 line-height : 1.4 ;
229233 padding : 2px 0 ;
230234}
@@ -252,6 +256,9 @@ li.done label span::after { transform: scaleX(1); }
252256 transition : background-color 0.2s ;
253257}
254258
259+ /* Ensure delete button stays at the far right and spacing is even */
260+ .del { margin-left : auto; }
261+
255262.del : hover {
256263 background : # dc2626 ;
257264}
You can’t perform that action at this time.
0 commit comments