From e02ddc446e34114ebf6be47eeb202a30d922cd61 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 18 May 2021 08:51:47 +0200 Subject: [PATCH] Fix code style issues --- ts/WoltLabSuite/Core/Dom/Util.ts | 2 +- .../install/files/js/WoltLabSuite/Core/Dom/Util.js | 2 +- .../install/files/style/layout/containerList.scss | 2 +- wcfsetup/install/files/style/ui/reactions.scss | 12 ++++++++++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ts/WoltLabSuite/Core/Dom/Util.ts b/ts/WoltLabSuite/Core/Dom/Util.ts index 8170042606..e3f37363e3 100644 --- a/ts/WoltLabSuite/Core/Dom/Util.ts +++ b/ts/WoltLabSuite/Core/Dom/Util.ts @@ -451,7 +451,7 @@ const DomUtil = { let insertTarget = parent as HTMLElement; let referenceElement = element; - if (insertTarget.classList.contains('inputAddon')) { + if (insertTarget.classList.contains("inputAddon")) { insertTarget = parent.parentElement as HTMLElement; referenceElement = parent as HTMLElement; } diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js index c3f078b080..b667b344ef 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Dom/Util.js @@ -382,7 +382,7 @@ define(["require", "exports", "tslib", "../StringUtil"], function (require, expo } let insertTarget = parent; let referenceElement = element; - if (insertTarget.classList.contains('inputAddon')) { + if (insertTarget.classList.contains("inputAddon")) { insertTarget = parent.parentElement; referenceElement = parent; } diff --git a/wcfsetup/install/files/style/layout/containerList.scss b/wcfsetup/install/files/style/layout/containerList.scss index 170bec6e2d..f85da8e90e 100644 --- a/wcfsetup/install/files/style/layout/containerList.scss +++ b/wcfsetup/install/files/style/layout/containerList.scss @@ -144,7 +144,7 @@ > .icon, > .invisible { - opacity: .5; + opacity: 0.5; } } diff --git a/wcfsetup/install/files/style/ui/reactions.scss b/wcfsetup/install/files/style/ui/reactions.scss index 12ae8bec60..9c7f610366 100644 --- a/wcfsetup/install/files/style/ui/reactions.scss +++ b/wcfsetup/install/files/style/ui/reactions.scss @@ -110,7 +110,11 @@ } &::after { - background-image: linear-gradient(to bottom, transparentize($wcfContentBackground, 100%), $wcfContentBackground); + background-image: linear-gradient( + to bottom, + transparentize($wcfContentBackground, 100%), + $wcfContentBackground + ); bottom: 0; } &.overflowBottom::after { @@ -118,7 +122,11 @@ } &::before { - background-image: linear-gradient(to top, transparentize($wcfContentBackground, 100%), $wcfContentBackground); + background-image: linear-gradient( + to top, + transparentize($wcfContentBackground, 100%), + $wcfContentBackground + ); top: 0; } &.overflowTop::before { -- 2.20.1