Coder Social home page Coder Social logo

Toolbar covers editor widget about fiddle HOT 3 CLOSED

electron avatar electron commented on August 22, 2024
Toolbar covers editor widget

from fiddle.

Comments (3)

wsmd avatar wsmd commented on August 22, 2024 1

Hey, good catch!

I thought I'd drop a hint..

It turns out the tooltip isn't covered by the toolbar. It's trimmed by the editor's boundaries.

This is caused by the overflow: hidden applied by the mosaic window wrapping the editor.

The element selector is located at .mosaic-window.mosaic-drop-target.main

A more precise selector (copied via devtools):

/* may or may not work based on the app state */
#app > div > div.mosaic-blueprint-theme.mosaic.mosaic-drop-target > div.mosaic-root > div:nth-child(1) > div

Removing the styling, while it breaks a bunch of other things, seems to fix this specific problem.

screen shot 2018-08-13 at 4 26 41 pm

I'm assuming this is something out of Electron Fiddle's control. Perhaps a quick workaround would be to add padding to the mosaic window wrapper to give the first line tooltips some breathing room:

screen shot 2018-08-13 at 4 39 38 pm

--

a little note: that tooltip looks somehow gigantic compared to other types of tooltips. E.g.

screen shot 2018-08-13 at 4 43 49 pm

or compared to the same tooltip taken from VSCode

screen shot 2018-08-13 at 4 42 22 pm

I think resolving that font-size issue could help with making the padding hack mentioned above less drastic.

from fiddle.

BeniCheni avatar BeniCheni commented on August 22, 2024

Hello, I analyzed this "good first issue" and tried it out with #78. Definitely had a lot of fun. Looking forward to your review. 🙏 .

from fiddle.

felixrieseberg avatar felixrieseberg commented on August 22, 2024

This is now fixed in master 🙇

from fiddle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.