radekkozak / discordian

Obsidian dark theme inspired by Discord
MIT License
107 stars 6 forks source link

Remove CSS rule breaking code editor #39

Closed louy closed 3 years ago

louy commented 3 years ago

Fixes #35

louy commented 3 years ago

As I understand this rule is attempting to fix a bug that's caused by the fact that this extension is removing the padding from .markdown-source-view.mod-cm5 and applying it to .CodeMirror-scroll instead. A better solution might be to undo that

https://github.com/radekkozak/discordian/blob/13c346611d9b8f584061e97828bea93d99111410/.theme/wysiwyg.css#L37-L40 https://github.com/radekkozak/discordian/blob/13c346611d9b8f584061e97828bea93d99111410/.theme/wysiwyg.css#L56-L61

And this rule is breaking the editor so... yeah

Screenshot 2021-03-17 at 13 23 15