From c3b2fa5a99e9ffbc6f9e8ff57a4bde69276af413 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 13 Aug 2015 13:01:13 +0930 Subject: [PATCH] Prevent badge tooltips from being cut off By overflow in the notifications dropdown. closes flarum/core#228 --- js/lib/components/Badge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lib/components/Badge.js b/js/lib/components/Badge.js index 142a1ef0a..8da355982 100644 --- a/js/lib/components/Badge.js +++ b/js/lib/components/Badge.js @@ -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'}); } }