fix: changed truncation style for big folder and flow names on header (#5106)
Fix truncation and add width relation between name and folder name
This commit is contained in:
parent
22d8ac1da8
commit
db33b15ade
1 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|||
|
||||
return currentFlow && onFlowPage ? (
|
||||
<div className="flex items-center justify-center gap-2 truncate">
|
||||
<div className="header-menu-bar hidden justify-end truncate md:flex">
|
||||
<div className="header-menu-bar hidden w-20 max-w-fit grow justify-end truncate md:flex">
|
||||
{currentFolder?.name && (
|
||||
<div className="hidden truncate md:flex">
|
||||
<div
|
||||
|
|
@ -137,7 +137,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|||
/
|
||||
</div>
|
||||
|
||||
<div className="w-fit overflow-hidden truncate text-sm sm:whitespace-normal lg:flex-shrink-0">
|
||||
<div className="overflow-hidden truncate text-sm sm:whitespace-normal">
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<div className="header-menu-bar-display-2 group truncate">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue