@autobusal/routes-order 1.21.0 → 1.21.1

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
@@ -6,6 +6,13 @@ All notable changes to this package are documented here. This project follows
6
6
  > Note: 1.8.0 was published without a changelog entry. The gap is left as-is
7
7
  > rather than reconstructed after the fact.
8
8
 
9
+ ## 1.21.1
10
+
11
+ No horizontal scroll on a tablet's date strip. The 900px floor belongs to the
12
+ seven-day layout, which only appears from 1024px — applied from 640px it made
13
+ a tablet showing five days scroll sideways for a row that fitted comfortably,
14
+ because the strip was reserving width for two cells it was not rendering.
15
+
9
16
  ## 1.21.0
10
17
 
11
18
  The same-day notice no longer hedges about timezones. obtapi now holds a zone
@@ -7,9 +7,18 @@ export const Container = styled.div`
7
7
  border-radius: ${ props => props.theme.borderRadius };
8
8
 
9
9
  @media (min-width: 640px) {
10
- overflow-x: auto;
11
10
  padding: 10px 15px;
12
11
  }
12
+
13
+ /**
14
+ * Edited: Ferjolt Ozuni - Date: 2026-08-03
15
+ * The scroll container only exists where the fixed-width strip below does,
16
+ * which is desktop. It was switched on from 640px, so a tablet inherited a
17
+ * scrollbar for a strip that had every reason to fit.
18
+ */
19
+ @media (min-width: 1024px) {
20
+ overflow-x: auto;
21
+ }
13
22
  `;
14
23
 
15
24
  /**
@@ -44,7 +53,6 @@ export const Inner = styled.div`
44
53
  }
45
54
 
46
55
  @media (min-width: 640px) {
47
- min-width: 900px;
48
56
  gap: 5px;
49
57
 
50
58
  & > button:first-child,
@@ -53,6 +61,18 @@ export const Inner = styled.div`
53
61
  height: auto;
54
62
  }
55
63
  }
64
+
65
+ /**
66
+ * Edited: Ferjolt Ozuni - Date: 2026-08-03
67
+ *
68
+ * The 900px floor belongs to the SEVEN-day strip, and seven days only
69
+ * appear from 1024px. Applied from 640px it forced a tablet showing FIVE
70
+ * days to scroll sideways for a row that fitted comfortably - the strip
71
+ * was reserving width for two cells that were not being rendered.
72
+ */
73
+ @media (min-width: 1024px) {
74
+ min-width: 900px;
75
+ }
56
76
  `;
57
77
 
58
78
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/routes-order",
3
- "version": "1.21.0",
3
+ "version": "1.21.1",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"