Skip to content

A platform for community discussion. Free, open, simple.

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

Kris9ae067164dad
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index b64f300f852..2ca3d905fdd 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -1083,14 +1083,16 @@ a.mention-group {
.topic-footer-main-buttons {
display: flex;
flex-wrap: wrap;
-
+ align-items: stretch; // aligns items by making them the same height
button {
margin-right: 0.54em;
- height: 100%; // helps select-kit buttons match height
}
.topic-admin-menu-button-container {
display: inline-flex;
+ > span {
+ display: flex; // to make this button match siblings behavior, all of its parents need to be flex
+ }
}
}