@autobusal/routes-order 1.23.4 → 1.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.23.5
4
+
5
+ **The operator cell centres its contents at every width.** LinkCompany already carried an auto horizontal margin, so the logo was centred in the cell whatever the screen - but the rating and the route code sat at flex-start, under the left edge of a box whose logo was in the middle of it. On a 768px card that was a ~300px gap between the logo and the code below it.
6
+
7
+ Measured after: logo and chip centres agree to within 1px (sub-pixel rounding) at 768px and 1400px, with no cell overflow and no sideways page scroll.
8
+
3
9
  ## 1.23.4
4
10
 
5
11
  **The route code is a chip rather than a line of grey text.** Rounded, on the neutral background, bold and letter-spaced, with a route glyph (MdOutlineAltRoute) leading it and the word "Route" as its tooltip.
@@ -109,13 +109,24 @@ export const Company = styled.div`
109
109
  display: flex;
110
110
  flex-direction: column;
111
111
  gap: 6px;
112
- align-items: flex-start;
112
+
113
+ /*
114
+ * Edited: Ferjolt Ozuni - Date: 2026-08-03
115
+ * Centred at EVERY width, not just on desktop. LinkCompany carries an
116
+ * auto horizontal margin, so the logo is centred in this cell whatever the
117
+ * screen - leaving the rating and the route code at flex-start put them
118
+ * under the left edge of a box whose logo sat in the middle of it. On a
119
+ * 768px card that was a 300px gap between the two.
120
+ */
121
+ align-items: center;
113
122
 
114
123
  /**
115
124
  * Edited: Ferjolt Ozuni - Date: 2026-08-03
125
+ *
116
126
  * 185px down to 120px. The logo is an identifier, not the product - it
117
127
  * only has to be recognisable - and the 65px it gives back goes to the two
118
128
  * location columns, which were the cells actually running out of room.
129
+ *
119
130
  */
120
131
  @media (min-width: 1024px) {
121
132
  flex: 0 0 120px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/routes-order",
3
- "version": "1.23.4",
3
+ "version": "1.23.5",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"