From 4b96c674a369a005e848cac7104a39379a356daa Mon Sep 17 00:00:00 2001 From: Chalarangelo Date: Sun, 14 Mar 2021 14:20:31 +0200 Subject: [PATCH] Amend screenshot utility Account for dark mode redesign --- src/blocks/utilities/screenshot/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blocks/utilities/screenshot/index.js b/src/blocks/utilities/screenshot/index.js index 2fbf810cb..2bb17a4fb 100644 --- a/src/blocks/utilities/screenshot/index.js +++ b/src/blocks/utilities/screenshot/index.js @@ -57,6 +57,8 @@ export class Screenshot { // Style card const card = document.querySelector('.snippet-card'); + card.classList.remove('srfc-02dp'); + card.classList.add('srfc-02db'); card.style.maxWidth = '800px'; card.style.zIndex = '8'; // Add logo inside the card