5htp-core 0.3.6-4 → 0.3.6-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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp-core",
3
3
  "description": "Convenient TypeScript framework designed for Performance and Productivity.",
4
- "version": "0.3.6-4",
4
+ "version": "0.3.6-5",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
@@ -12,6 +12,7 @@
12
12
  // Layout
13
13
  position: relative;
14
14
  gap: @spacing;
15
+ min-width: fit-content; // Fit content, even when flexbox parent width < content width
15
16
 
16
17
  // Dimensions
17
18
  font-size: 1em;
@@ -30,6 +30,15 @@
30
30
  display: flex;
31
31
  flex-wrap: nowrap;
32
32
 
33
+ &.scrollable {
34
+
35
+ overflow: auto;
36
+
37
+ > * {
38
+ min-width: fit-content;
39
+ }
40
+ }
41
+
33
42
  // Avec justify-content: center, les premiers élements sont cachés
34
43
  .indiana-scroll-container > & {
35
44
  justify-content: flex-start;