You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compose: Show send message error with dismissable error banners
Different from the Figma, we use a sharp border instead of a rounded
one, because most of the time (for error messages of a single line) the
40x40 button is attached to the top/bottom/right border, and a rounded
border would leave some blank space at the corners.
We also align the button to the top when we soft wrap the error message;
centering it leaves some awkward vertical padding.
Apart from that, when the action button is not available (e.g.
_ErrorBanner that replaces the compose box in narrows without post
permission), the padding around the label is adjusted to center it.
Fixes: zulip#720
Signed-off-by: Zixuan James Li <[email protected]>
0 commit comments