Enlarge emoji in composer (#7602)
This commit is contained in:
parent
b5d11336f7
commit
6806c2cdca
12 changed files with 128 additions and 42 deletions
|
@ -86,6 +86,11 @@ a.mx_Pill {
|
|||
margin-right: 0.24rem;
|
||||
}
|
||||
|
||||
.mx_Emoji {
|
||||
font-size: 1.8rem;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.mx_Markdown_BOLD {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -88,6 +88,8 @@ limitations under the License.
|
|||
.mx_EventTile_line {
|
||||
width: fit-content;
|
||||
max-width: 70%;
|
||||
// fixed line height to prevent emoji from being taller than text
|
||||
line-height: $font-18px;
|
||||
}
|
||||
|
||||
> .mx_SenderProfile {
|
||||
|
|
|
@ -233,11 +233,6 @@ $left-gutter: 64px;
|
|||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.mx_EventTile_Emoji {
|
||||
font-size: 1.8rem;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
&.mx_EventTile_selected .mx_EventTile_line,
|
||||
&:hover .mx_EventTile_line {
|
||||
border-top-left-radius: 4px;
|
||||
|
@ -391,7 +386,7 @@ $left-gutter: 64px;
|
|||
position: absolute;
|
||||
}
|
||||
|
||||
.mx_EventTile_bigEmoji .mx_EventTile_Emoji {
|
||||
.mx_EventTile_bigEmoji .mx_Emoji {
|
||||
font-size: 48px !important;
|
||||
line-height: 57px;
|
||||
}
|
||||
|
|
|
@ -19,6 +19,8 @@ limitations under the License.
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: $font-14px;
|
||||
// fixed line height to prevent emoji from being taller than text
|
||||
line-height: calc(1.2 * $font-14px);
|
||||
justify-content: center;
|
||||
margin-right: 6px;
|
||||
// don't grow wider than available space
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue