From c7873845285d905b27d79adacd010dd2f47e62ce Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 31 Dec 2021 19:15:39 +0100 Subject: [PATCH] Code style fixes --- ts/WoltLabSuite/Core/Ui/Page/Menu/Main/Frontend.ts | 2 +- wcfsetup/install/files/style/element/list.scss | 2 +- wcfsetup/install/files/style/layout/pageHeader.scss | 2 +- wcfsetup/install/files/style/ui/button.scss | 2 +- wcfsetup/install/files/style/ui/contentItem.scss | 2 +- wcfsetup/install/files/style/ui/datePicker.scss | 2 +- wcfsetup/install/files/style/ui/embeddedContent.scss | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ts/WoltLabSuite/Core/Ui/Page/Menu/Main/Frontend.ts b/ts/WoltLabSuite/Core/Ui/Page/Menu/Main/Frontend.ts index b6e8541a11..1a7c07ab22 100644 --- a/ts/WoltLabSuite/Core/Ui/Page/Menu/Main/Frontend.ts +++ b/ts/WoltLabSuite/Core/Ui/Page/Menu/Main/Frontend.ts @@ -43,7 +43,7 @@ function normalizeMenuItem(menuItem: HTMLElement, depth: MenuItemDepth): MenuIte } export class UiPageMenuMainFrontend implements PageMenuMainProvider { - getMenuItems(container:HTMLElement): MenuItem[] { + getMenuItems(container: HTMLElement): MenuItem[] { return Array.from(container.children).map((element: HTMLElement) => { return normalizeMenuItem(element, 0); }); diff --git a/wcfsetup/install/files/style/element/list.scss b/wcfsetup/install/files/style/element/list.scss index c18b5b5240..ddebc6fbf7 100644 --- a/wcfsetup/install/files/style/element/list.scss +++ b/wcfsetup/install/files/style/element/list.scss @@ -39,7 +39,7 @@ ol.nativeList { padding: 3px 6px 2px 2px; position: relative; text-decoration: none; - + @include wcfFontSmall; @include wcfFontBold; diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index baa00a742e..c1bcd96070 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -355,7 +355,7 @@ padding: 4px 8px; position: relative; text-align: left; - + &::after { color: inherit; content: $fa-var-caret-down; diff --git a/wcfsetup/install/files/style/ui/button.scss b/wcfsetup/install/files/style/ui/button.scss index ab2ab8ccd7..5f9c45a908 100644 --- a/wcfsetup/install/files/style/ui/button.scss +++ b/wcfsetup/install/files/style/ui/button.scss @@ -133,7 +133,7 @@ a.button { &.smallButtons .button { padding: 6px 8px; - + @include wcfFontSmall; } diff --git a/wcfsetup/install/files/style/ui/contentItem.scss b/wcfsetup/install/files/style/ui/contentItem.scss index 301262afbb..a13e6478ec 100644 --- a/wcfsetup/install/files/style/ui/contentItem.scss +++ b/wcfsetup/install/files/style/ui/contentItem.scss @@ -137,7 +137,7 @@ .contentItemCategory { color: $wcfContentDimmedText; - + @include wcfFontSmall; } diff --git a/wcfsetup/install/files/style/ui/datePicker.scss b/wcfsetup/install/files/style/ui/datePicker.scss index 89edfbd219..b64134151f 100644 --- a/wcfsetup/install/files/style/ui/datePicker.scss +++ b/wcfsetup/install/files/style/ui/datePicker.scss @@ -103,7 +103,7 @@ > span { color: $wcfContentDimmedText; - + @include wcfFontSmall; } } diff --git a/wcfsetup/install/files/style/ui/embeddedContent.scss b/wcfsetup/install/files/style/ui/embeddedContent.scss index 310081f121..10eca644c8 100644 --- a/wcfsetup/install/files/style/ui/embeddedContent.scss +++ b/wcfsetup/install/files/style/ui/embeddedContent.scss @@ -46,7 +46,7 @@ .embeddedContentCategory { color: $wcfContentDimmedText; - + @include wcfFontSmall; } -- 2.20.1