DEV: flexify post-controls and stop relying on clearfix (#12098)

This commit is contained in:
Joffrey JAFFEUX 2021-02-17 09:58:17 +01:00 committed by GitHub
parent 71904277e2
commit 237d172fd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -598,7 +598,7 @@ export default createWidget("post-menu", {
const contents = [
h(
"nav.post-controls.clearfix" +
"nav.post-controls" +
(this.state.collapsed ? ".collapsed" : ".expanded") +
(siteSettings.enable_filtered_replies_view
? ".replies-button-visible"

View File

@ -49,11 +49,15 @@ section.post-menu-area {
nav.post-controls {
padding: 0;
display: flex;
align-items: center;
justify-content: space-between;
.actions {
text-align: right;
float: right;
display: inline-block;
margin-left: auto;
.more-actions {
display: none;
overflow: hidden;