diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-06-06 02:27:32 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-06-06 03:09:27 +0000 |
| commit | 8bf3cae6ac89de9569a7ec629594954804a2b55a (patch) | |
| tree | d897073049c414e15dd33c0ad1dac4345801b22e /webAO/styles/master.css | |
| parent | e0ce108e0806d18353ad85125b2b5f1b1c67e07d (diff) | |
CSP hardening: remove inline styles
Similar to removal of inline scripts, everything was taken out into the
CSS files, with the same styles applied there directly. This lets us
use `script-src 'self'` in the CSP.
Additionally, serve Golden Layout CSS locally to avoid third-party
connection.
Diffstat (limited to 'webAO/styles/master.css')
| -rw-r--r-- | webAO/styles/master.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webAO/styles/master.css b/webAO/styles/master.css index add9ed21..c5d9b197 100644 --- a/webAO/styles/master.css +++ b/webAO/styles/master.css @@ -379,3 +379,7 @@ nav.navbar.fixed-top.navbar-expand-lg.navbar-dark.bg-dark.fixed-top { .server-description { white-space: pre-wrap; } + +#ms_error { + display: none; +} |
