Skip to content
Open
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
9 changes: 9 additions & 0 deletions app/assets/stylesheets/components/_feed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -451,13 +451,18 @@
display: flex;
align-items: center;
gap: var(--space-xxs);
// Let the tools side (which holds the time-status text) shrink and wrap
// instead of overrunning the submit group in a narrow composer/modal.
min-width: 0;
}

// Unverified `!` warning sits just left of the Post button.
&__submit-group {
display: flex;
align-items: center;
gap: var(--space-xs);
// Keep the Post button + IDV badge at full size; the tools side gives first.
flex-shrink: 0;
}

&__tool-btn {
Expand Down Expand Up @@ -576,6 +581,9 @@
display: flex;
align-items: center;
gap: var(--space-xs);
// Allow the status/warning line to wrap within the shrunk tools side
// rather than pushing the toolbar wider than its container.
min-width: 0;

&[hidden] {
display: none;
Expand All @@ -585,6 +593,7 @@
&__info-text {
font-size: calc(var(--font-size-s) * 1.2);
color: var(--color-space-text-muted);
overflow-wrap: anywhere;

&--warn {
color: var(--color-brand-salmon);
Expand Down