fix: stack modal buttons vertically on mobile for touch-friendly layout
On small screens (<=640px), modal action buttons now stack vertically with full width instead of wrapping unpredictably. This applies to all modals: note, task, goal.
This commit is contained in:
parent
2345724535
commit
f7afdf5c96
@ -276,10 +276,14 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-actions {
|
.modal-actions {
|
||||||
flex-wrap: wrap;
|
flex-direction: column;
|
||||||
|
gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-actions .btn-primary,
|
||||||
|
.modal-actions .btn-secondary,
|
||||||
.modal-actions .btn-danger {
|
.modal-actions .btn-danger {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user