Skip to content

Commit

Permalink
Small edits on Navigation style (#2184)
Browse files Browse the repository at this point in the history
* Limiting size of titles and descriptin, adding Tooltip

* Small changes

* Small changes

---------

Co-authored-by: édouard wautier <[email protected]>
  • Loading branch information
Duncid and édouard wautier authored Oct 18, 2023
1 parent f96e203 commit 813a74d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front/components/assistant/conversation/SidebarMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function AssistantSidebarMenu({
<div className="flex grow flex-col">
<div className="flex h-0 min-h-full w-full overflow-y-auto">
<div className="flex w-full flex-col pl-4 pr-2">
<div className="pr py-4 text-right">
<div className="py-4 pr-2 text-right">
<Link
href={`/w/${owner.sId}/assistant/new`}
onClick={() => {
Expand Down
4 changes: 2 additions & 2 deletions front/components/sparkle/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ function NavigationBar({
<Tab tabs={topNavigation({ owner, current: topNavigationCurrent })} />
</div>
{subNavigation && (
<div>
<div className="py-2">
{subNavigation.map((nav) => {
return (
<div key={nav.id} className="grow px-4 pb-4 pt-2">
<div key={nav.id} className="grow pl-4 pr-3">
<Item.List>
<Item.SectionHeader
label={nav.label}
Expand Down

0 comments on commit 813a74d

Please sign in to comment.