fix: vertical alignment on buttons with an icon

This commit is contained in:
gaelle morin
2021-05-14 20:19:55 +02:00
parent ab2c05204f
commit 7780b57505
20 changed files with 53 additions and 33 deletions

View File

@ -6,7 +6,7 @@
/* Styles on buttons and .children-link don't work because this input is inside too many elements. */
/* And no I can't add that stupid icon because it'a an input. */
/* But now, with 0.16, it's a button and you can :D */
.join-button {
/*.join-button {
input,
button {
@ -55,7 +55,7 @@
}
}
}
}
}*/
.masonry>div:nth-child(1) {
/* change from directory (nth-child(2))*/

View File

@ -121,17 +121,11 @@ hubl-menu-empty+hubl-menu-empty {
.search-button {
button {
display: inline-flex;
line-height: 15px;
@media (max-width: 768px) {
margin-bottom: 20px;
width: 100%;
}
&::before {
vertical-align: middle;
}
}
}
@ -144,3 +138,27 @@ hubl-menu-empty+hubl-menu-empty {
}
}
}
.children-button-icon {
button {
display: inline-flex;
justify-content: center;
line-height: 15px;
&::before {
vertical-align: middle;
}
}
}
.button-icon {
display: inline-flex;
justify-content: center;
line-height: 15px;
&::before {
vertical-align: middle;
}
}