Skip to content

Commit

Permalink
style: profile activity (#1771)
Browse files Browse the repository at this point in the history
* style: profile activity comment log styling

* chore: profile feed activity refactor

* style: sidebar project list
  • Loading branch information
anmolsinghbhatia authored Aug 2, 2023
1 parent 9a29896 commit c16b0da
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 358 deletions.
342 changes: 0 additions & 342 deletions apps/app/components/core/feeds.tsx

This file was deleted.

1 change: 0 additions & 1 deletion apps/app/components/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ export * from "./sidebar";
export * from "./theme";
export * from "./views";
export * from "./activity";
export * from "./feeds";
export * from "./reaction-selector";
export * from "./image-picker-popover";
8 changes: 6 additions & 2 deletions apps/app/components/project/single-sidebar-project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@ export const SingleSidebarProject: React.FC<Props> = ({
sidebarCollapse ? "justify-center" : `justify-between`
}`}
>
<div className="flex items-center flex-grow w-full truncate gap-x-2">
<div
className={`flex items-center flex-grow w-full truncate gap-x-2 ${
sidebarCollapse ? "justify-center" : ""
}`}
>
{project.emoji ? (
<span className="grid h-7 w-7 flex-shrink-0 place-items-center rounded uppercase">
{renderEmoji(project.emoji)}
Expand Down Expand Up @@ -262,7 +266,7 @@ export const SingleSidebarProject: React.FC<Props> = ({
leaveFrom="transform scale-100 opacity-100"
leaveTo="transform scale-95 opacity-0"
>
<Disclosure.Panel className={`space-y-2 ${sidebarCollapse ? "" : "ml-[2.25rem]"}`}>
<Disclosure.Panel className={`space-y-2 mt-1 ${sidebarCollapse ? "" : "ml-[2.25rem]"}`}>
{navigation(workspaceSlug as string, project?.id).map((item) => {
if (
(item.name === "Cycles" && !project.cycle_view) ||
Expand Down
Loading

0 comments on commit c16b0da

Please sign in to comment.