diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-08 12:04:25 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-12-08 12:04:25 +0100 |
| commit | b9bb62cf0c2af848bf02e2a74d9bd109ef570010 (patch) | |
| tree | 9300e05dca96a39a06e8a38bf7ee91dcd7ec77ea /src/frontend/app/components/StopGalleryItem.tsx | |
| parent | 107295575e3a7c37911ae192baf426b0003975a4 (diff) | |
Update formatting
Diffstat (limited to 'src/frontend/app/components/StopGalleryItem.tsx')
| -rw-r--r-- | src/frontend/app/components/StopGalleryItem.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/frontend/app/components/StopGalleryItem.tsx b/src/frontend/app/components/StopGalleryItem.tsx index 6c80362..bf60697 100644 --- a/src/frontend/app/components/StopGalleryItem.tsx +++ b/src/frontend/app/components/StopGalleryItem.tsx @@ -22,7 +22,9 @@ const StopGalleryItem: React.FC<StopGalleryItemProps> = ({ stop }) => { to={`/stops/${stop.stopId}`} > <div className="flex items-center gap-2 mb-1"> - {stop.favourite && <span className="text-yellow-500 text-base">★</span>} + {stop.favourite && ( + <span className="text-yellow-500 text-base">★</span> + )} <span className="text-xs text-gray-600 dark:text-gray-400 font-medium"> ({stop.stopId}) </span> @@ -30,10 +32,10 @@ const StopGalleryItem: React.FC<StopGalleryItemProps> = ({ stop }) => { <div className="text-[0.95rem] font-semibold mb-2 leading-snug line-clamp-2 min-h-[2.5em]" style={{ - display: '-webkit-box', + display: "-webkit-box", WebkitLineClamp: 2, - WebkitBoxOrient: 'vertical', - overflow: 'hidden' + WebkitBoxOrient: "vertical", + overflow: "hidden", }} > {StopDataProvider.getDisplayName(stop)} |
