mirror of
https://github.com/flarum/core.git
synced 2025-05-10 17:35:25 +02:00
Prevent badge tooltips from being cut off
By overflow in the notifications dropdown. closes flarum/core#228
This commit is contained in:
parent
360f65e270
commit
c3b2fa5a99
@ -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'});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user