mirror of
https://github.com/flarum/framework.git
synced 2025-04-24 21:54:04 +08:00
fix: post dropdown opens all dropdowns in .Post-actions
(#3675)
This commit is contained in:
parent
2517bc0f70
commit
fe5d543864
@ -97,7 +97,7 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
|
||||
const $actions = this.$('.Post-actions');
|
||||
const $controls = this.$('.Post-controls');
|
||||
|
||||
$actions.toggleClass('open', $controls.hasClass('open'));
|
||||
$actions.toggleClass('openWithin', $controls.hasClass('open'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -322,7 +322,7 @@
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
.Post:hover &, .Post:focus-within &, &.open {
|
||||
.Post:hover &, .Post:focus-within &, &.openWithin {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user