remove defined css class and just use tailwind

This commit is contained in:
Hunter Thornsberry
2025-03-16 19:45:27 -04:00
parent 0bef82ec32
commit 7e1ba42873
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -27,6 +27,6 @@ export const SidebarButton = ({
{Icon && <Icon size={16} />}
{element && element}
<span className="flex flex-1 justify-start shrink-0">{label}</span>
{count > 0 && !active && <div className="justify-end notification-count">{count}</div>}
{count > 0 && !active && <div className="justify-end text-white rounded-[20%] px-[2%] bg-[rgb(195,0,0)]">{count}</div>}
</Button>
);
-8
View File
@@ -122,12 +122,4 @@ img {
.animate-spin-slow {
animation: spin-slower 2s linear infinite;
}
.notification-count {
color: white;
border-radius: 20%;
padding-left: 2%;
padding-right: 2%;
background-color: rgb(195,0,0);
}