diff --git a/site/content/docs/alerts/_index.md b/site/content/docs/alerts/_index.md index c36da1eea..df011b9b0 100644 --- a/site/content/docs/alerts/_index.md +++ b/site/content/docs/alerts/_index.md @@ -15,4 +15,6 @@ Many alerts support [tags](/alerttags/) which allow you to see which alerts are [OWASP Top Ten](https://owasp.org/Top10/) categories or [OWASP Web Service Testing Guide](https://owasp.org/www-project-web-security-testing-guide/) chapters. Some alerts are only relevant for specific [technologies](/techtags/) - if you know your target app does _not_ use some of these technologies then you can configure ZAP -to skip those tests. \ No newline at end of file +to skip those tests. + +The CWE and WASC columns are only shown on wider screens - if you are using a mobile phone then try turning your screen sideways if you want to see them. \ No newline at end of file diff --git a/site/layouts/alert/list.html b/site/layouts/alert/list.html index fa830d935..0aa33ccdc 100644 --- a/site/layouts/alert/list.html +++ b/site/layouts/alert/list.html @@ -16,6 +16,8 @@

{{ .Title }}

Status Risk Type + CWE + WASC @@ -26,6 +28,8 @@

{{ .Title }}

{{ .Params.status }} {{ .Params.risk }} {{ .Params.alerttype }} + {{ .Params.cwe }} + {{ .Params.wasc }} {{ end }} diff --git a/src/css/_layout.scss b/src/css/_layout.scss index 8eb34c988..654dd4a35 100644 --- a/src/css/_layout.scss +++ b/src/css/_layout.scss @@ -150,3 +150,13 @@ $grid_widths: 2 3 4 5 6 8; .embed-youtube iframe, .embed-youtube object, .embed-youtube embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + +// Hide columns on smaller screens +@media only screen and (max-width: 650px) { + td.td-non-mobile { + display:none; + } + th.th-non-mobile { + display:none; + } +}