From 27ddf1c54ee8677d1a77fd26a30b25df7ec13161 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 23 Jun 2022 08:28:55 +0430 Subject: [PATCH] UI improvements. --- src/componets/SideBar.js | 18 +++++++++--------- src/styles/SideBar.css | 10 +++++++++- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/componets/SideBar.js b/src/componets/SideBar.js index cb6bcc5c..4e3a3a19 100644 --- a/src/componets/SideBar.js +++ b/src/componets/SideBar.js @@ -40,26 +40,26 @@ const SideBar = ({ tags, lists, handleToggleSidebar, toggle }) => { className="sidebar" > -

LinkWarden

+

LinkWarden

}> -

All

+
All
} + icon={

} suffix={{sortedTags.length}} - title={

Lists

} + title={
Lists
} > {sortedLists.map((e, i) => { const path = `/lists/${e}`; return ( - - {e} + } key={i}> + {e} ); })} @@ -68,13 +68,13 @@ const SideBar = ({ tags, lists, handleToggleSidebar, toggle }) => { } suffix={{sortedTags.length}} - title={

Tags

} + title={
Tags
} > {sortedTags.map((e, i) => { const path = `/tags/${e}`; return ( - - {e} + #} key={i}> + {e} ); })} diff --git a/src/styles/SideBar.css b/src/styles/SideBar.css index 5e9dd4d7..f5e01c34 100644 --- a/src/styles/SideBar.css +++ b/src/styles/SideBar.css @@ -3,7 +3,7 @@ position: fixed; } -.sidebar h1 { +.sidebar h3 { text-align: center; } @@ -47,3 +47,11 @@ .pro-inner-item { margin-bottom: 10px; } + +.sidebar-entity { + font-size: 1.2rem; +} + +.sidebar-item-prefix { + font-family: "Font Awesome 5 Free"; +} \ No newline at end of file