Prevent tooltip expanding body tag in editor

This commit is contained in:
Henrik Giesel 2021-09-15 02:18:42 +02:00
parent 6c8767cd68
commit 4f6468a925

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>