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

Fix spacing for message composer buttons
This commit is contained in:
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

View file

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