@falcondev-oss/nuxt-layers-base 0.42.2 → 0.42.3

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.
@@ -49,6 +49,10 @@ export default defineSetupComponent(
49
49
  >
50
50
  {leadingSections}
51
51
 
52
+ {/* every section hugs its content, so the spare space collects here instead of
53
+ stretching the last leading section */}
54
+ <div class="flex-1" />
55
+
52
56
  {endSections.length > 0 ? (
53
57
  // one flex item, so the end sections wrap onto their own line as a group
54
58
  // instead of splitting up — the leading sections give way first
@@ -27,12 +27,10 @@ export default defineSetupComponent(
27
27
  <div
28
28
  data-end={props.end || undefined}
29
29
  class={cnMerge(
30
- 'border-default -mt-px -ml-px flex min-w-fit flex-col gap-1.5 border-l px-3 py-2',
30
+ 'border-default -mt-px -ml-px flex min-w-fit flex-none flex-col gap-1.5 border-l px-3 py-2',
31
31
  // the row separator spans the full ribbon width (clipped by its overflow-hidden), so a
32
32
  // partially filled wrapped line still gets an unbroken line above it
33
33
  'before:border-default relative before:absolute before:inset-x-[-100vw] before:top-0 before:border-t',
34
- // end sections hug their content, so the leading sections absorb the spare space
35
- props.end ? 'flex-none' : 'flex-1',
36
34
  props.ui?.root,
37
35
  )()}
38
36
  >
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@falcondev-oss/nuxt-layers-base",
3
3
  "type": "module",
4
- "version": "0.42.2",
4
+ "version": "0.42.3",
5
5
  "description": "Nuxt layer with lots of useful helpers and @nuxt/ui components",
6
6
  "license": "MIT",
7
7
  "repository": {