diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-19 12:40:48 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-19 12:40:48 +0100 |
| commit | d434204860fc0409ad6343e815d0057b97ce3573 (patch) | |
| tree | 37d349fb3a39e727150134a32e745c64a7312571 /src/frontend/app/routes/stops-$id.tsx | |
| parent | d6a28db658487bab63067499c3c7dbe6165e18c1 (diff) | |
Some UI tweaks
Diffstat (limited to 'src/frontend/app/routes/stops-$id.tsx')
| -rw-r--r-- | src/frontend/app/routes/stops-$id.tsx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/frontend/app/routes/stops-$id.tsx b/src/frontend/app/routes/stops-$id.tsx index ac41250..372582b 100644 --- a/src/frontend/app/routes/stops-$id.tsx +++ b/src/frontend/app/routes/stops-$id.tsx @@ -191,14 +191,19 @@ export default function Estimates() { <> <div className="page-container stops-page"> <div className="stops-header"> + <div> + <Star + className={`star-icon ${favourited ? "active" : ""}`} + onClick={toggleFavourite} + width={20} + /> + <Edit2 + className="edit-icon" + onClick={handleRename} + width={20} /> + </div> <h1 className="page-title"> - <Star - className={`star-icon ${favourited ? "active" : ""}`} - onClick={toggleFavourite} - /> - <Edit2 className="edit-icon" onClick={handleRename} /> - {getStopDisplayName()}{" "} - <span className="estimates-stop-id">({stopIdNum})</span> + {getStopDisplayName()} </h1> <button |
