From 7b880e58198dd7ae1d94cf89aeb7f1982caea628 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sat, 4 Jul 2020 09:11:41 +0200 Subject: [PATCH] improve icons --- server/ui/src/Main.css | 5 ++++- server/ui/src/components/search.tsx | 6 ++---- server/ui/src/index.tsx | 6 ++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/server/ui/src/Main.css b/server/ui/src/Main.css index 0385b6b..8e0fc7f 100644 --- a/server/ui/src/Main.css +++ b/server/ui/src/Main.css @@ -80,7 +80,10 @@ a::-moz-focus-inner { } th .icon { - color: #333333; + color: #666666; + position: relative; + top: 0.125em; + left: 0.125em; } .spinner { diff --git a/server/ui/src/components/search.tsx b/server/ui/src/components/search.tsx index 47471f4..80781dd 100644 --- a/server/ui/src/components/search.tsx +++ b/server/ui/src/components/search.tsx @@ -137,18 +137,16 @@ export class Search extends Component { sortLinkIcon(sortKey: string) { const searchParams = this.state.searchParams; - if (searchParams.sort_key !== sortKey) { return ""; } - if (searchParams.sort_dir === "Asc") { return ( - + ) } else { return ( - + ) } } diff --git a/server/ui/src/index.tsx b/server/ui/src/index.tsx index dbdb31b..0585508 100644 --- a/server/ui/src/index.tsx +++ b/server/ui/src/index.tsx @@ -49,6 +49,12 @@ class Index extends Component { arrow-up + + + + + + search