Skip to content

Commit

Permalink
chore: reverted the flex-1 change
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda committed Sep 29, 2024
1 parent cae90a5 commit a236b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep-ui/app/dashboard/GridItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const GridItem: React.FC<GridItemProps> = ({ item, onEdit, onDelete }) => {
<div className="flex flex-col h-full">
<div className={`flex-none flex items-center justify-between p-2 ${item.preset ? 'h-1/5':'h-[10%]'}`}>
{/* For table view we need intract with table filter and pagination.so we aare dragging the widget here */}
<span className={`flex-1 text-lg font-semibold truncate ${item.preset ? "" : "grid-item__widget"}`}>{item.name}</span>
<span className={`text-lg font-semibold truncate ${item.preset ? "" : "grid-item__widget"}`}>{item.name}</span>
<MenuButton
onEdit={() => onEdit(item.i)}
onDelete={() => onDelete(item.i)}
Expand Down

0 comments on commit a236b95

Please sign in to comment.