ensure topic footer buttons are the same height (#11875)

follow-up to f1d5d2b
This commit is contained in:
Kris 2021-01-27 21:40:45 -05:00 committed by GitHub
parent d3febe5e86
commit 9ae067164d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1083,14 +1083,16 @@ a.mention-group {
.topic-footer-main-buttons { .topic-footer-main-buttons {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: stretch; // aligns items by making them the same height
button { button {
margin-right: 0.54em; margin-right: 0.54em;
height: 100%; // helps select-kit buttons match height
} }
.topic-admin-menu-button-container { .topic-admin-menu-button-container {
display: inline-flex; display: inline-flex;
> span {
display: flex; // to make this button match siblings behavior, all of its parents need to be flex
}
} }
} }