Fix buttons size

This commit is contained in:
Florian Duros 2022-10-13 15:36:54 +02:00
parent f85f53248b
commit a96aea29a9
No known key found for this signature in database
GPG key ID: 9700AA5870258A0B

View file

@ -19,14 +19,14 @@ limitations under the License.
justify-content: start; justify-content: start;
.mx_FormattingButtons_Button { .mx_FormattingButtons_Button {
--size: 26px; --size: 28px;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
height: var(--size); height: var(--size);
line-height: var(--size); line-height: var(--size);
width: auto; width: auto;
padding-left: var(--size); padding-left: var(--size);
margin-right: 6px; margin-right: 2px;
background-color: transparent; background-color: transparent;
border: none; border: none;
@ -37,8 +37,8 @@ limitations under the License.
&::before { &::before {
content: ''; content: '';
position: absolute; position: absolute;
top: 7px; top: 8px;
left: 7px; left: 8px;
height: 12px; height: 12px;
width: 12px; width: 12px;
background-color: $icon-button-color; background-color: $icon-button-color;