+2
Started

Bug: User css can not overwrite some styles due to !important flag.

Jens Spille 2 years ago • updated by Rhio Kim 2 years ago 2
Thanks for the software.
I tried to set the exported HTML page in the center of the screen, using 'html,body{ margin: auto; ..)' in the user css. However, because the themes css has set margin to '0!important' it can't be overwritten.
Can you please remove the !important statement in all themes css's? Or is there any other way use an empty themes css?
How to repead the bug:
In Preferences - Live-View choose github as theme and choose a personal css wich includes 'html,body{ margin: auto;}' and you will see that the exported page is NOT in the center of the screen.
I wait for an update.
Jens
+1
Under review
Hi

I understood all.
I'll removed the !important statement in the viewer css with next release.