minor UI changes (#416)

This commit is contained in:
bob2402 2024-03-16 23:02:13 +08:00 committed by GitHub
parent f6761c07fd
commit 92b66e34c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 7 deletions

View File

@ -131,7 +131,8 @@ function TopBar(props: {
items-center justify-between bg-[#2F3136]`}
>
<div class={`flex items-center overflow-hidden`}>
<button
{
/* <button
class={`w-6 h-6 mx-2 ${IconButtonClass}`}
>
<LeftArrowIcon
@ -140,10 +141,10 @@ function TopBar(props: {
fill: "rgb(185, 187, 190)",
}}
/>
</button>
</button> */
}
<span
class={`text-[#F3F4EA] text-[1.2rem]
hover:text-[#60a5fa] hover:cursor-pointer
class={`text-[#F3F4EA] text-[1.2rem] mx-4
whitespace-nowrap truncate`}
>
{props.currentSelected}

View File

@ -13,12 +13,16 @@ export function SearchIcon(props: {
<svg
class={props.class}
style={props.style}
viewBox="0 0 32 32"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M23.2148 21.1138C25.0618 18.7326 25.9322 15.7373 25.6491 12.7371C25.3659 9.73699 23.9505 6.95739 21.6907 4.96382C19.4308 2.97025 16.4964 1.91247 13.4844 2.00568C10.4723 2.09888 7.60893 3.33607 5.4767 5.46555C3.34261 7.5965 2.10137 10.461 2.00594 13.4753C1.91051 16.4897 2.96806 19.427 4.96308 21.6886C6.9581 23.9503 9.74045 25.3662 12.7431 25.6477C15.7458 25.9292 18.7428 25.0551 21.1234 23.2037L21.1871 23.2703L27.4701 29.5548C27.6077 29.6924 27.7711 29.8016 27.9509 29.876C28.1307 29.9505 28.3234 29.9889 28.518 29.9889C28.7127 29.9889 28.9054 29.9505 29.0852 29.876C29.265 29.8016 29.4283 29.6924 29.5659 29.5548C29.7036 29.4172 29.8127 29.2538 29.8872 29.074C29.9617 28.8942 30 28.7015 30 28.5069C30 28.3123 29.9617 28.1196 29.8872 27.9398C29.8127 27.76 29.7036 27.5966 29.5659 27.459L23.2815 21.176C23.2598 21.1546 23.2376 21.1339 23.2148 21.1138ZM20.14 7.56136C20.9762 8.3841 21.6413 9.36427 22.0969 10.4453C22.5524 11.5264 22.7894 12.687 22.7942 13.8601C22.799 15.0332 22.5714 16.1956 22.1247 17.2804C21.678 18.3651 21.0209 19.3507 20.1914 20.1802C19.3618 21.0097 18.3763 21.6668 17.2915 22.1135C16.2068 22.5603 15.0443 22.7878 13.8712 22.783C12.6981 22.7783 11.5376 22.5413 10.4565 22.0857C9.37542 21.6302 8.39525 20.9651 7.57251 20.1288C5.92832 18.4576 5.01111 16.2045 5.02065 13.8601C5.0302 11.5157 5.96573 9.27006 7.62347 7.61232C9.28121 5.95458 11.5268 5.01905 13.8712 5.0095C16.2156 4.99996 18.4688 5.91717 20.14 7.56136Z"
fill="currentColor"
d="M21 21L15.0001 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z"
stroke="currentColor"
stroke-width="2.67"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
);