From 4bd3d6764bfd48c881d9722825309ddb5956c758 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:20:43 -0600 Subject: style: reformat all files properly - remove .json from .eslintignore - add type intellisense to .prettierrc.js - install missing @jest/types which is used in jest.config.js - split up typecheck and lint into two separate commands - remove --require-pragma flag from reformat-files which leads to unformatted files - install suggested @types/prop-types and @types/react-loader dependencies - add @ts-expect-error to Loader usages - reformat all scss files automatically with reformat-files command --- src/styles/services.scss | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'src/styles/services.scss') diff --git a/src/styles/services.scss b/src/styles/services.scss index 359a41ab0..7ce6f8c87 100644 --- a/src/styles/services.scss +++ b/src/styles/services.scss @@ -3,7 +3,9 @@ .theme__dark .services { background: $dark-theme-gray-darkest; - .services__webview-wrapper { background: $dark-theme-gray-darkest; } + .services__webview-wrapper { + background: $dark-theme-gray-darkest; + } .services__webview, .services__info-layer { @@ -14,7 +16,9 @@ .services__info-layer { background: $dark-theme-gray-darkest; - h1 { color: $dark-theme-gray-lightest; } + h1 { + color: $dark-theme-gray-lightest; + } } } @@ -31,21 +35,23 @@ } @for $i from $split-columns-min through $split-columns-max { - &[data-columns="#{$i}"] .services .services__webview { + &[data-columns='#{$i}'] .services .services__webview { flex-basis: calc(100% / $i); } } } .services { - background: #FFF; + background: #fff; flex: 1; height: 100%; order: 5; overflow: hidden; position: relative; - .services__webview-wrapper { background: $theme-gray-lighter; } + .services__webview-wrapper { + background: $theme-gray-lighter; + } .services__webview, .services__info-layer { @@ -66,9 +72,13 @@ z-index: 100; } - &--force-repaint webview { z-index: 5; } + &--force-repaint webview { + z-index: 5; + } - &.is-loading webview { background: #FFF } + &.is-loading webview { + background: #fff; + } } .services__no-service, @@ -86,12 +96,13 @@ } .button, - button { margin: 40px 0 20px; } + button { + margin: 40px 0 20px; + } } .services__info-layer { position: absolute; z-index: 110; } - } -- cgit v1.2.3-70-g09d2