From 9ae067164dadb4b5a1e995390f3e0d7a443bf8a4 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 27 Jan 2021 21:40:45 -0500 Subject: [PATCH] ensure topic footer buttons are the same height (#11875) follow-up to f1d5d2b --- app/assets/stylesheets/common/base/topic-post.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 + } } }