Prevent tooltip expanding body tag in editor

This commit is contained in:
Henrik Giesel 2021-09-15 02:18:42 +02:00
parent a6504e3f47
commit dd280038a8

View file

@ -42,3 +42,11 @@
</script>
<slot {createTooltip} {tooltipObject} />
<style lang="scss">
/* tooltip is inserted under the body tag
/* long tooltips can cause x-overflow */
:global(body) {
overflow-x: hidden;
}
</style>