Skip to content

Commit

Permalink
style: 🎨 sidebar CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhxNguyen7 committed Dec 25, 2023
1 parent a6cd872 commit 910243d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/lib/components/SideBar/SideBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
import SideBarLink from "./SideBarLink.svelte";
</script>

<div id="sidebar" class="flex flex-col outline-slate-100 rounded card outline-5 h-full w-full">
<div
id="sidebar"
class="flex flex-col bg-secondary-400 outline-secondary-800 rounded-lg card outline-5 h-full w-full"
>
<div class="user-info flex justify-left gap-2 m-3 ml-4">
<img src="user-icon.png" alt="User Icon" class="user-icon rounded-full w-1/5" />
<div class="user-name align-text-bottom flex-col content-center justify-center inline-grid">
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/SideBar/SideBarLink.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</script>

<a id="sidebar-link-{label}" {href}>
<div class="flex flex-row whitespace-nowrap hover:bg-surface-300 w-full gap-2 pl-5 p-3">
<div class="flex flex-row whitespace-nowrap hover:bg-secondary-500 w-full gap-2 pl-5 p-3 rounded">
<img src={icon} alt="Icon" class="w-8 h-8" />
<span class="text-lg">{label}</span>
</div>
Expand Down

0 comments on commit 910243d

Please sign in to comment.