Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions client/src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ a {

.spinner {
display: inline-block;
flex-shrink: 0;
width: 1.25em;
height: 1.25em;
border: 2px solid currentColor;
Expand Down Expand Up @@ -590,6 +591,25 @@ a {
flex: 1;
}

/* Below 480px, don't let the links row and the action button fight over
horizontal space (that's what squeezed "Updating…" + its spinner into a
sliver). Stack them: links wrap on their own full-width line, the button
gets a full-width line to itself with room for its label + spinner. */
@media (max-width: 479.98px) {
.card-actions {
flex-direction: column;
align-items: stretch;
}

.card-actions-left {
width: 100%;
}

.update-btn {
width: 100%;
}
}

@media (min-width: 480px) {
.update-btn {
flex: 0 0 auto;
Expand Down