Skip to content

Commit

Permalink
fix(ui): long freight tags made promotion impossible (#1510)
Browse files Browse the repository at this point in the history
Signed-off-by: Remington Breeze <remington@breeze.software>
  • Loading branch information
rbreeze authored Feb 21, 2024
1 parent d28220c commit bc55b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/features/freightline/freight-contents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const FreightContents = (props: {
} & React.PropsWithChildren
) => (
<Tooltip
className={`flex items-center my-1 flex-col bg-neutral-800 rounded p-1 w-full ${
className={`flex items-center my-1 flex-col bg-neutral-800 rounded p-1 w-20 max-w-20 overflow-x-hidden ${
promoting && highlighted ? 'bg-transparent' : ''
}`}
overlay={props.overlay}
Expand All @@ -33,7 +33,7 @@ export const FreightContents = (props: {

return (
<div
className={`hover:text-white flex flex-col justify-start items-center font-mono text-xs flex-shrink min-w-min w-full overflow-y-auto max-h-full ${
className={`hover:text-white flex flex-col justify-start items-center font-mono text-xs flex-shrink min-w-min w-20 overflow-y-auto max-h-full ${
highlighted ? 'text-white' : 'text-gray-500'
}`}
>
Expand Down

0 comments on commit bc55b39

Please sign in to comment.