picocrank 1.28.1 → 1.28.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "picocrank",
3
- "version": "1.28.1",
3
+ "version": "1.28.2",
4
4
  "type": "module",
5
5
  "description": "A set of zero dependency Vue components built on the Femtocrank global CSS theme.",
6
6
  "main": "vite.config.js",
@@ -103,7 +103,17 @@ section .section-content {
103
103
  min-width: 0;
104
104
  }
105
105
 
106
- /* Femtocrank 2.7 compacts section toolbars; keep pre-upgrade default button padding. */
106
+ /*
107
+ * Femtocrank 2.7 compacts section toolbars; keep pre-upgrade default button padding.
108
+ * Toolbar is a flex row beside the section title — buttons must not shrink when a
109
+ * search or filter control shares the row (avoid width: 100% on flex siblings).
110
+ */
111
+ section .section-header [role="toolbar"] {
112
+ flex: 1 1 auto;
113
+ min-width: 0;
114
+ justify-content: flex-end;
115
+ }
116
+
107
117
  section .section-header [role="toolbar"] button,
108
118
  section .section-header [role="toolbar"] .button {
109
119
  padding-top: .4em;
@@ -112,6 +122,12 @@ section .section-header [role="toolbar"] .button {
112
122
  padding-right: 1em;
113
123
  min-width: 0;
114
124
  line-height: normal;
125
+ flex-shrink: 0;
126
+ }
127
+
128
+ section .section-header [role="toolbar"] > :not(button):not(.button) {
129
+ flex: 1 1 auto;
130
+ min-width: 0;
115
131
  }
116
132
 
117
133
  section.narrow {