Merge pull request #6852 from matrix-org/gsouquet/fix-18999

Fix spacing for message composer buttons
pull/21833/head
David Baker 2021-09-22 13:39:28 +01:00 committed by GitHub
commit 40dedfa44a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -185,16 +185,26 @@ limitations under the License.
}
}
.mx_ContextualMenu {
.mx_MessageComposer_button {
padding-left: calc(var(--size) + 6px);
}
}
.mx_MessageComposer_button {
--size: 26px;
position: relative;
margin-right: 6px;
cursor: pointer;
height: var(--size);
line-height: var(--size);
width: auto;
padding-left: calc(var(--size) + 5px);
padding-left: var(--size);
border-radius: 100%;
margin-right: 6px;
&:last-child {
margin-right: auto;
}
&::before {
content: '';