mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
fix: post dropdown opens all dropdowns in .Post-actions
(#3675)
This commit is contained in:
@@ -97,7 +97,7 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
|
|||||||
const $actions = this.$('.Post-actions');
|
const $actions = this.$('.Post-actions');
|
||||||
const $controls = this.$('.Post-controls');
|
const $controls = this.$('.Post-controls');
|
||||||
|
|
||||||
$actions.toggleClass('open', $controls.hasClass('open'));
|
$actions.toggleClass('openWithin', $controls.hasClass('open'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -322,7 +322,7 @@
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.Post:hover &, .Post:focus-within &, &.open {
|
.Post:hover &, .Post:focus-within &, &.openWithin {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user