1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 16:21:18 +02:00

Prevent badge tooltips from being cut off

By overflow in the notifications dropdown. closes flarum/core#228
This commit is contained in:
Toby Zerner
2015-08-13 13:01:13 +09:30
parent 3b0b380ee0
commit ae57be6e4f

View File

@@ -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'});
}
}