Style dropdown & clean up naming

This commit is contained in:
Alasdair Smith 2018-05-31 16:10:40 +01:00
parent aaf5da877e
commit c5f62d3aa3

View file

@ -257,7 +257,6 @@ formatting-buttons {
.formatting-btn { .formatting-btn {
padding: 0; padding: 0;
margin: 3px 0;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
@ -266,24 +265,35 @@ formatting-buttons {
border: none; border: none;
border-left: 1px solid #ccc; border-left: 1px solid #ccc;
border-radius: 0; border-radius: 0;
}
.formatting-btn-with-icon { &--icon {
min-width: 32px; min-width: 32px;
width: 32px; width: 32px;
&:nth-child(-1) { &:last-of-type {
border-right: 1px solid #ccc; border-right: 1px solid @formatting-btn-border;
}
}
&--more {
padding-left: 9px;
padding-right: 9px;
} }
} }
.formatting-btn-overflowed { .formatting-icon {
margin-left: auto;
padding-left: 5px;
padding-right: 5px;
}
.formatting-btn-icon {
font-style: normal; font-style: normal;
line-height: 1.5; line-height: 1.5;
} }
.formatting-more {
margin-left: auto;
}
.formatting-menu {
min-width: auto;
.formatting-menu-item {
float: left;
}
}