mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
compose: Size help-button icon to match other formatting buttons.
Because button sizes are precisely specified in the area, we set the buttons as flex items that neither to grow or shrink, which is essential to right-size the button area for the help button.
This commit is contained in:
@@ -1315,6 +1315,9 @@ textarea.new_message_textarea {
|
||||
height: 1.2727em;
|
||||
/* 30px at 22px/1em */
|
||||
width: 1.3636em;
|
||||
/* Adhere to the width of formatting buttons,
|
||||
despite flexbox context. */
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -1377,18 +1380,6 @@ textarea.new_message_textarea {
|
||||
position: relative;
|
||||
top: 0.7px;
|
||||
}
|
||||
|
||||
.compose_help_button {
|
||||
/* 20px at 16px/1em */
|
||||
font-size: 1.25em;
|
||||
/* 32px at 20px/1em */
|
||||
height: 1.6em;
|
||||
/* 34.2833 at 20px/1em */
|
||||
width: 1.7142em;
|
||||
/* Adhere to the width of this button,
|
||||
despite flexbox context. */
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.less-dense-mode {
|
||||
|
Reference in New Issue
Block a user