@quilltap/theme-storybook 1.0.93 → 1.0.94

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/dist/index.css CHANGED
@@ -3184,10 +3184,14 @@ body {
3184
3184
  .qt-page-toolbar-left {
3185
3185
  display: flex;
3186
3186
  align-items: center;
3187
+ flex: 1 1 0%;
3187
3188
  min-width: 2.5rem;
3188
3189
  }
3190
+ .qt-page-toolbar-left:empty {
3191
+ flex: 0 1 auto;
3192
+ }
3189
3193
  .qt-page-toolbar-center {
3190
- flex: 1 1 0%;
3194
+ flex: 0 1 32rem;
3191
3195
  display: flex;
3192
3196
  justify-content: center;
3193
3197
  padding-left: 1rem;
@@ -3198,6 +3202,7 @@ body {
3198
3202
  display: flex;
3199
3203
  align-items: center;
3200
3204
  gap: 0.5rem;
3205
+ flex-shrink: 0;
3201
3206
  min-width: 2.5rem;
3202
3207
  justify-content: flex-end;
3203
3208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quilltap/theme-storybook",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "Storybook preset and stories for developing Quilltap theme plugins",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -3996,15 +3996,24 @@
3996
3996
  -webkit-backdrop-filter: var(--qt-app-header-blur);
3997
3997
  }
3998
3998
 
3999
+ /* With page content, the left section takes whatever the search bar and the
4000
+ right section leave over — never the other way round — so a crowded
4001
+ breadcrumb compacts itself instead of squeezing the search bar. */
3999
4002
  .qt-page-toolbar-left {
4000
4003
  display: flex;
4001
4004
  align-items: center;
4005
+ flex: 1 1 0%;
4002
4006
  /* Reserve space for hamburger on mobile, empty on desktop */
4003
4007
  min-width: 2.5rem;
4004
4008
  }
4005
4009
 
4010
+ /* Empty, it claims no spare room, so the search bar sits where it always has. */
4011
+ .qt-page-toolbar-left:empty {
4012
+ flex: 0 1 auto;
4013
+ }
4014
+
4006
4015
  .qt-page-toolbar-center {
4007
- flex: 1 1 0%;
4016
+ flex: 0 1 32rem;
4008
4017
  display: flex;
4009
4018
  justify-content: center;
4010
4019
  padding-left: 1rem;
@@ -4016,6 +4025,7 @@
4016
4025
  display: flex;
4017
4026
  align-items: center;
4018
4027
  gap: 0.5rem;
4028
+ flex-shrink: 0;
4019
4029
  /* Balance with left section */
4020
4030
  min-width: 2.5rem;
4021
4031
  justify-content: flex-end;