mirror of
https://github.com/flarum/framework.git
synced 2025-05-21 22:36:01 +08:00
Prevent badge tooltips from being cut off
By overflow in the notifications dropdown. closes flarum/core#228
This commit is contained in:
@ -38,6 +38,6 @@ export default class Badge extends Component {
|
||||
config(isInitialized) {
|
||||
if (isInitialized) return;
|
||||
|
||||
if (this.props.label) this.$().tooltip();
|
||||
if (this.props.label) this.$().tooltip({container: 'body'});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user