mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Prevent tooltip expanding body tag in editor
This commit is contained in:
parent
a6504e3f47
commit
dd280038a8
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue