From cfa2789008b1580f2e904053029f9444399a191c Mon Sep 17 00:00:00 2001 From: Daan Vankerkom Date: Wed, 9 Nov 2022 01:36:07 +0100 Subject: [PATCH 1/2] Properly align list view and side nav - Matching the alignment of the side navigation drawer and the my preferences menu. - Matching the font sizes and weights. --- src/assets/css/librarybrowser.scss | 7 ++++--- src/components/listview/listview.scss | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/assets/css/librarybrowser.scss b/src/assets/css/librarybrowser.scss index cc3389f3e..915a71d70 100644 --- a/src/assets/css/librarybrowser.scss +++ b/src/assets/css/librarybrowser.scss @@ -273,20 +273,21 @@ flex-shrink: 0; [dir="ltr"] & { - margin-right: 1.2em; + margin-right: 1em; } [dir="rtl"] & { - margin-left: 1.2em; + margin-left: 1em; } } .navMenuOptionText { + line-height: 1.35em; white-space: nowrap; - margin-top: 0.25em; } .sidebarHeader { + font-size: 1em; margin: 1em 0 0.5em; [dir="ltr"] & { diff --git a/src/components/listview/listview.scss b/src/components/listview/listview.scss index 33a5ceadd..025ce596b 100644 --- a/src/components/listview/listview.scss +++ b/src/components/listview/listview.scss @@ -122,10 +122,11 @@ padding: 0.1em 0; overflow: hidden; text-overflow: ellipsis; + font-weight: 400; } .layout-desktop .listItemBodyText { - margin: 0.25em 0 0 0; + line-height: 1.2em; } .listItemBodyText-nowrap { From 4e01657d4549632365301593508d9a65cb868ff0 Mon Sep 17 00:00:00 2001 From: Daan Vankerkom Date: Wed, 9 Nov 2022 01:50:58 +0100 Subject: [PATCH 2/2] Update CONTRIBUTORS.md --- CONTRIBUTORS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index b17300139..2368a5431 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -56,6 +56,7 @@ - [is343](https://github.com/is343) - [Meet Pandya](https://github.com/meet-k-pandya) - [Peter Spenler](https://github.com/peterspenler) + - [Vankerkom](https://github.com/vankerkom) # Emby Contributors @@ -121,4 +122,4 @@ - [SvenVandenbrande](https://github.com/SvenVandenbrande) - [jomp16](https://github.com/jomp16) - [Leon de Klerk](https://github.com/leondeklerk) - - [CrispyBaguette](https://github.com/CrispyBaguette) \ No newline at end of file + - [CrispyBaguette](https://github.com/CrispyBaguette)