@aquera/nile-visualization 2.9.3 → 2.9.4
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.
|
@@ -135,6 +135,7 @@ export const styles = css `
|
|
|
135
135
|
width: 100%;
|
|
136
136
|
max-width: 100%;
|
|
137
137
|
box-sizing: border-box;
|
|
138
|
+
flex-shrink: 0;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
.kpi-value-row {
|
|
@@ -144,6 +145,7 @@ export const styles = css `
|
|
|
144
145
|
flex-wrap: nowrap;
|
|
145
146
|
min-width: 0;
|
|
146
147
|
overflow: hidden;
|
|
148
|
+
flex-shrink: 0;
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
.kpi-value {
|
|
@@ -225,13 +227,15 @@ export const styles = css `
|
|
|
225
227
|
width: 100%;
|
|
226
228
|
max-width: 100%;
|
|
227
229
|
box-sizing: border-box;
|
|
230
|
+
flex-shrink: 1;
|
|
228
231
|
}
|
|
229
232
|
|
|
230
233
|
.kpi-sparkline {
|
|
231
234
|
width: 100%;
|
|
232
|
-
flex:
|
|
233
|
-
min-height:
|
|
235
|
+
flex: 1 1 0;
|
|
236
|
+
min-height: 0;
|
|
234
237
|
margin-top: var(--nile-spacing-xs, var(--ng-spacing-xs));
|
|
238
|
+
overflow: hidden;
|
|
235
239
|
}
|
|
236
240
|
|
|
237
241
|
/* ── Container queries: scale down for narrow cards ── */
|
|
@@ -264,8 +268,7 @@ export const styles = css `
|
|
|
264
268
|
}
|
|
265
269
|
|
|
266
270
|
.kpi-sparkline {
|
|
267
|
-
|
|
268
|
-
min-height: 18px;
|
|
271
|
+
min-height: 0;
|
|
269
272
|
}
|
|
270
273
|
}
|
|
271
274
|
|