teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 1 forks source link

Remove inline styles #197

Open ronja-ui opened 1 year ago

ronja-ui commented 1 year ago

Remove all inline styles and move those to css files or use already existing utility class names.

BVVLD commented 1 year ago

Most of the inline styles from HTML and JS files of the project are removed. All ng-style directives, which are also working as inline styles were removed as well. The current two main issues with inline styles in the project are connected to Ace editor and jQuery functions. Some of that jQuery functions are used with ng-show and ng-hide directives, which stop working after CSP enforcement.