Monaco-editor: .hidden should not be in global css space

Created on 19 Dec 2016  路  2Comments  路  Source: microsoft/monaco-editor

monaco-editor npm version: 0.7.0
Browser: any
OS: any

I am using monaco editor in a div (rather than in an iframe). Loading the editor will load a main.css, which contains a global .hidden { display: none !important; visibility: none !important; } This breaks my existing styles because I also have .hidden classes with css animated transitions (e.g. fading out), but the !important in main.css overwrote them, and it took me a long time to debug the broken animation.

Please consider move the .hidden inside to some monaco specific classes, so that they are not intrusive. Thanks.

bug integration

Most helpful comment

Thank you! 鉂わ笍

All 2 comments

Thank you! 鉂わ笍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreymarchenko picture andreymarchenko  路  3Comments

chengtie picture chengtie  路  3Comments

Spongman picture Spongman  路  3Comments

brandalorian picture brandalorian  路  3Comments

akosyakov picture akosyakov  路  3Comments