codex-team / editor.js

A block-style editor with clean JSON output
https://editorjs.io
Apache License 2.0
28.26k stars 2.06k forks source link

[Bug] Tooltip Position Broken #1449

Closed vincenzocasu closed 10 months ago

vincenzocasu commented 3 years ago

Hi, i'm using Editorjs in a Bootstrap 4 Project, my editorjs container is inserted into a bootstrap card. So on hovering the toolbar tooltips position was not correct. Checkout the attached screen... Is there a simple way to fix this issue?

Expected behavior: tooltip positioned correctly

Screenshots: Schermata 2020-11-28 alle 12 56 41

Device, Browser, OS: MacOS

Editor.js version: latest

Plugins you use with their versions:

vincenzocasu commented 3 years ago

Is there anyone who can help me fix the positioning of the tooltips?

neSpecc commented 3 years ago

Can you provide a demo page?

vincenzocasu commented 3 years ago

At moment i'm developing in my local environment... if you want we can make a remote desktop session :)

slaveofcode commented 3 years ago

I also got that problem, is there any way to fix it via configuration overrides? or CSS styling

Browser: Firefox 84.0 (64-bit) OS: Linux Ubuntu 18.04 Framework: Vuejs via Nuxt

slaveofcode commented 3 years ago

Turns out this is because my root <HTML> element, has default padding on CSS styles, so removing it will fix the bug. so you may check your root HTML or BODY tag if has any CSS padding (or margin) setup @vincenzocasu

neSpecc commented 10 months ago

Seems outdated