From 2d33f8f24391f582373a7faaa330814ad191abed Mon Sep 17 00:00:00 2001 From: Vitalii Perehonchuk Date: Wed, 10 Jan 2024 15:00:16 +0200 Subject: [PATCH] FE adjust --- src/script.js | 19 ++++++++++--------- src/style.css | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/script.js b/src/script.js index f310b5e..0ce07fe 100644 --- a/src/script.js +++ b/src/script.js @@ -13,15 +13,16 @@ document.addEventListener('DOMContentLoaded', () => { }); }); - const nolintCodeBlocks = document.querySelectorAll('code[class*="language-"][class*="-nolint"]'); - nolintCodeBlocks.forEach((codeBlock) => { - codeBlock.classList.forEach((className) => { - if (className.endsWith('-nolint')) { - codeBlock.classList.remove(className); - codeBlock.classList.add(className.slice(0, -'-nolint'.length)); - } - }); - }); + // const nolintCodeBlocks = + // document.querySelectorAll('code[class*="language-"][class*="-nolint"]'); + // nolintCodeBlocks.forEach((codeBlock) => { + // codeBlock.classList.forEach((className) => { + // if (className.endsWith('-nolint')) { + // codeBlock.classList.remove(className); + // codeBlock.classList.add(className.slice(0, -'-nolint'.length)); + // } + // }); + // }); const leftButtons = document.querySelector('.left-buttons'); const searchBox = document.createElement('div'); diff --git a/src/style.css b/src/style.css index e6a7ac8..3901fa7 100644 --- a/src/style.css +++ b/src/style.css @@ -273,5 +273,5 @@ screen and (min-width: 1008px) { } .example-bad { - background-color: color-mix(in srgb, red 15%, var(--bg)); + background-color: color-mix(in oklab, red 15%, var(--bg)) } \ No newline at end of file