diff --git a/website/assets/js/pages/reports/state-of-device-management.page.js b/website/assets/js/pages/reports/state-of-device-management.page.js index 9949614ef1..8e4aa29731 100644 --- a/website/assets/js/pages/reports/state-of-device-management.page.js +++ b/website/assets/js/pages/reports/state-of-device-management.page.js @@ -399,7 +399,7 @@ parasails.registerPage('state-of-device-management', { fullWidth: false, position: chartHasLegendOnBottom ? 'bottom' : 'right', // removing the default onClick event from the chart's legend - onClick: (click)=>{console.log(click);}, + onClick: ()=>{return;}, labels: { padding: 16, generateLabels: (chart) => { @@ -428,10 +428,8 @@ parasails.registerPage('state-of-device-management', { if(this.redrawnCharts.length < 1) { // Iterating through charts drawn on the page. If the window width is below 768px, we'll change the configuration and update the charts. for(let index in this.chartsDrawnOnPage) { - console.log(this.chartsDrawnOnPage[index]); // If a bottom legend position was specified, we'll ignore it. let chartHasLegendOnBottomAtAllWidths = this.chartsDrawnOnPage[index].aspectRatio === 0.8; - console.log(this.chartsDrawnOnPage[index] + ' ' + 'chartHasLegendOnBottomAtAllWidths: '+ chartHasLegendOnBottomAtAllWidths); if(window.innerWidth < 768 && !chartHasLegendOnBottomAtAllWidths){ this.redrawnCharts.push(this.chartsDrawnOnPage[index]); this.chartsDrawnOnPage[index].aspectRatio = 1; @@ -450,7 +448,6 @@ parasails.registerPage('state-of-device-management', { this.chartsDrawnOnPage[index].resize(); } } - console.log(this.chartsDrawnOnPage); } else { // Iterating through the charts that have been redrawn and changing them back to their original configuration. for(let index in this.redrawnCharts) { @@ -473,7 +470,6 @@ parasails.registerPage('state-of-device-management', { this.redrawnCharts[index].resize(); } } - console.log(this.redrawnCharts); } }, diff --git a/website/assets/styles/layout.less b/website/assets/styles/layout.less index de7fa21935..231a8f633c 100644 --- a/website/assets/styles/layout.less +++ b/website/assets/styles/layout.less @@ -107,16 +107,13 @@ html, body { } } [purpose='header-report-cta'] { - height: 48px; - strong { - font-size: 14px; - line-height: 20px; - } p { font-size: 14px; line-height: 20px; } a { + font-size: 14px; + line-height: 20px; font-weight: 700; text-decoration: underline; } @@ -265,14 +262,6 @@ body.detected-mobile { [purpose='page-footer'] { height: 264px; } - [purpose='page-header'] { - [purpose='header-report-cta'] { - height: 58px; - } - } - .translate-y-0 { - transform: translateY(-153px); - } } } @@ -282,14 +271,6 @@ body.detected-mobile { [purpose='page-footer'] { height: 371px; } - [purpose='page-header'] { - [purpose='header-report-cta'] { - height: 78px; - } - } - .translate-y-0 { - transform: translateY(-173px); - } } } @@ -318,5 +299,5 @@ body.detected-mobile { // Some utilities for the sticky nav behaviour .translate-y-0 { - transform: translateY(-143px); + transform: translateY(-210px); } diff --git a/website/views/layouts/layout-landing.ejs b/website/views/layouts/layout-landing.ejs index e98d8e2bd4..b52e4697e2 100644 --- a/website/views/layouts/layout-landing.ejs +++ b/website/views/layouts/layout-landing.ejs @@ -97,11 +97,9 @@
-
- We surveyed 200+ security practitioners to discover the state of device management in 2022. -

- Click here to learn about their struggles and best practices. -

+
+

We surveyed 200+ security practitioners to discover the state of device management in 2022.

+ Click here to learn about their struggles and best practices.
@@ -193,6 +191,7 @@ + diff --git a/website/views/layouts/layout.ejs b/website/views/layouts/layout.ejs index 894148291c..36d3eb7e02 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -97,11 +97,9 @@
-
- We surveyed 200+ security practitioners to discover the state of device management in 2022. -

- Click here to learn about their struggles and best practices. -

+
+

We surveyed 200+ security practitioners to discover the state of device management in 2022.

+ Click here to learn about their struggles and best practices.
@@ -384,6 +382,7 @@ + diff --git a/website/views/pages/reports/state-of-device-management.ejs b/website/views/pages/reports/state-of-device-management.ejs index 241146d308..99634ae51b 100644 --- a/website/views/pages/reports/state-of-device-management.ejs +++ b/website/views/pages/reports/state-of-device-management.ejs @@ -20,7 +20,7 @@