-
diff --git a/components/InputSelect/styles.ts b/components/InputSelect/styles.ts
index c32a5de..f56833c 100644
--- a/components/InputSelect/styles.ts
+++ b/components/InputSelect/styles.ts
@@ -15,7 +15,7 @@ export const styles: StylesConfig = {
cursor: "pointer",
backgroundColor: state.isSelected ? "#0ea5e9" : "inherit",
"&:hover": {
- backgroundColor: state.isSelected ? "#0ea5e9" : "#bae6fd",
+ backgroundColor: state.isSelected ? "#0ea5e9" : "#e2e8f0",
},
transition: "all 50ms",
}),
@@ -43,7 +43,7 @@ export const styles: StylesConfig = {
}),
clearIndicator: (styles) => ({
...styles,
- cursor: "pointer",
+ visibility: "hidden",
}),
placeholder: (styles) => ({
...styles,
diff --git a/components/LinkList.tsx b/components/LinkList.tsx
index 2823fcf..3f05167 100644
--- a/components/LinkList.tsx
+++ b/components/LinkList.tsx
@@ -123,7 +123,7 @@ export default function ({ link, count }: Props) {
setExpandDropdown(!expandDropdown)}
id={"expand-dropdown" + link.id}
- className="text-gray-500 inline-flex rounded-md cursor-pointer hover:bg-white hover:outline outline-sky-100 outline-1 duration-100 p-1"
+ className="text-gray-500 inline-flex rounded-md cursor-pointer hover:bg-white outline outline-sky-100 hover:outline-sky-500 outline-1 duration-100 p-1"
>
) : null}
diff --git a/components/Modal/Collection/TeamManagement.tsx b/components/Modal/Collection/TeamManagement.tsx
index 24b7f46..df399fa 100644
--- a/components/Modal/Collection/TeamManagement.tsx
+++ b/components/Modal/Collection/TeamManagement.tsx
@@ -239,7 +239,7 @@ export default function TeamManagement({
});
}}
/>
-
+
Create
@@ -268,7 +268,7 @@ export default function TeamManagement({
});
}}
/>
-
+
Update
@@ -297,7 +297,7 @@ export default function TeamManagement({
});
}}
/>
-
+
Delete
diff --git a/components/Sidebar/SidebarItem.tsx b/components/Sidebar/SidebarItem.tsx
index c104d35..caa401e 100644
--- a/components/Sidebar/SidebarItem.tsx
+++ b/components/Sidebar/SidebarItem.tsx
@@ -27,13 +27,15 @@ export default function ({ text, icon, path, className }: SidebarItemProps) {
{React.cloneElement(icon, {
- className: `w-4 ${active ? "text-white" : "text-sky-300"}`,
+ className: `w-4 h-4 ${active ? "text-white" : "text-sky-300"}`,
})}
-
+
{text}
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index a335eaa..835988c 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -32,9 +32,9 @@ export default function ({ className }: { className?: string }) {
return (
-
+
Linkwarden
@@ -43,12 +43,12 @@ export default function ({ className }: { className?: string }) {
className={`${
active === "/dashboard"
? "bg-sky-500"
- : "hover:bg-gray-50 hover:outline bg-gray-100"
- } outline-sky-100 outline-1 duration-100 rounded-md my-1 p-2 cursor-pointer flex items-center gap-2`}
+ : "hover:bg-slate-200 bg-gray-100"
+ } outline-sky-100 outline-1 duration-100 py-1 px-4 cursor-pointer flex items-center gap-2`}
>
@@ -67,12 +67,12 @@ export default function ({ className }: { className?: string }) {
className={`${
active === "/links"
? "bg-sky-500"
- : "hover:bg-gray-50 hover:outline bg-gray-100"
- } outline-sky-100 outline-1 duration-100 rounded-md my-1 p-2 cursor-pointer flex items-center gap-2`}
+ : "hover:bg-slate-200 bg-gray-100"
+ } outline-sky-100 outline-1 duration-100 py-1 px-4 cursor-pointer flex items-center gap-2`}
>
@@ -87,14 +87,12 @@ export default function ({ className }: { className?: string }) {
@@ -109,7 +107,7 @@ export default function ({ className }: { className?: string }) {
-
Collections
+
Collections
{collections
@@ -127,7 +125,7 @@ export default function ({ className }: { className?: string }) {
})}
{tags
diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx
index 0bc6083..4287211 100644
--- a/pages/dashboard.tsx
+++ b/pages/dashboard.tsx
@@ -84,8 +84,8 @@ export default function () {
{links
.sort(
(a, b) =>
- new Date(b.createdAt).getTime() -
- new Date(a.createdAt).getTime()
+ new Date(b.createdAt as string).getTime() -
+ new Date(a.createdAt as string).getTime()
)
.slice(0, 5)
.map((e, i) => (