Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: regroup paris cluster per floor #509

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/ui/src/components/ClusterMap/ClusterTableMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ export const ClusterPersonalWorkspace = ({
*/
export const ClusterPillar = () => {
return (
<div className="flex flex-1 flex-col justify-center items-center m-0.5 rounded bg-slate-200 dark:bg-slate-900"></div>
<div className="flex flex-1 flex-col justify-center items-center m-0.5 rounded bg-slate-200 dark:bg-slate-950"></div>
);
};

/**
* ClusterPillar component is used to display an empty space in a `ClusterRow`.
* ClusterEmpty component is used to display an empty space in a `ClusterRow`.
* Principally used to display a path in the cluster.
*/
export const ClusterEmpty = ({ displayText }: { displayText?: string }) => {
Expand Down
4 changes: 2 additions & 2 deletions web/ui/src/components/Sidebar/SidebarMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ export const MenuItem: React.FC<MenuItemProps> = ({
<Link
href={href as string}
target={linkTarget}
className="flex flex-1 items-center space-x-2 py-[var(--menu-padding-y)]"
className="flex flex-1 min-w-0 items-center space-x-2 py-[var(--menu-padding-y)]"
>
{children}
</Link>
)}
falseWrapper={(children) => (
<div className="flex flex-1 items-center space-x-2 py-[var(--menu-padding-y)]">
<div className="flex flex-1 min-w-0 items-center space-x-2 py-[var(--menu-padding-y)]">
{children}
</div>
)}
Expand Down
1 change: 1 addition & 0 deletions web/ui/src/containers/clusters/ClusterSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const ClusterSidebar = ({
clusterIdentifier == activeClusterIdentifier
}
name={cluster.name()}
className="[&>div>span:first-of-type]:overflow-hidden [&>div>span]:whitespace-pre [&>div>span]:text-ellipsis"
leftChildren={clusterIdentifier.toUpperCase()}
rightChildren={
activeCampus ? (
Expand Down
Loading
Loading