message_edit: Allow Save/Cancel buttons to properly size and flex.

This commit is contained in:
Karl Stolley
2025-03-07 12:29:05 -06:00
committed by Tim Abbott
parent cb9a21a741
commit 4b4dc6b556

View File

@@ -701,13 +701,13 @@
.message-actions-button {
box-sizing: border-box;
align-self: stretch;
/* Display the actions buttons as
flex containers for positioning
text and spinners. */
display: flex;
align-items: center;
justify-content: center;
height: 28px;
padding: 0 10px;
border-radius: 4px;
border: 0;
@@ -715,6 +715,10 @@
}
.message_edit_save {
/* Because the save button is inside this container,
we set the height here so the container stretches
with the flexbox. */
height: 100%;
/* Match Save button's basic colors to
the compose box Send button. */
color: var(--color-compose-send-button-icon-color);