capibara 1.3.76 → 1.3.77
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.js +2 -2
- package/package.json +1 -1
- package/src/scss/layout/_detail_day.scss +26 -8
package/package.json
CHANGED
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
// max-height: min(calc(100% - 0px), 600px);
|
|
9
9
|
//min-width: 250px;
|
|
10
10
|
//max-width: 400px;
|
|
11
|
-
|
|
11
|
+
// El contenido del detalle puede incluir nombres de productos largos.
|
|
12
|
+
// Acotar el panel evita que una sola cadena ensanche toda la planilla.
|
|
13
|
+
width: min(900px, calc(100vw - 2rem));
|
|
14
|
+
max-width: calc(100vw - 2rem);
|
|
12
15
|
border: 1px solid grey;
|
|
13
16
|
padding: 0.75em;
|
|
14
17
|
display: flex;
|
|
@@ -239,18 +242,24 @@
|
|
|
239
242
|
|
|
240
243
|
&.column-flex {
|
|
241
244
|
max-height: 60vh;
|
|
242
|
-
|
|
245
|
+
display: grid;
|
|
246
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
243
247
|
column-gap: 20px;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
// Una sola
|
|
248
|
+
row-gap: 4px;
|
|
249
|
+
|
|
250
|
+
// Una sola cápsula no necesita reservar columnas vacías.
|
|
247
251
|
&.single-item {
|
|
248
|
-
|
|
252
|
+
grid-template-columns: minmax(0, 1fr);
|
|
249
253
|
}
|
|
250
254
|
|
|
251
|
-
//
|
|
255
|
+
// En pantallas intermedias se reduce la cantidad de columnas antes de
|
|
256
|
+
// que el contenido quede ilegible.
|
|
252
257
|
@media screen and (max-width: 959px) {
|
|
253
|
-
|
|
258
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@media screen and (max-width: 600px) {
|
|
262
|
+
grid-template-columns: minmax(0, 1fr);
|
|
254
263
|
}
|
|
255
264
|
}
|
|
256
265
|
|
|
@@ -282,6 +291,7 @@
|
|
|
282
291
|
border-radius: 6px;
|
|
283
292
|
box-sizing: border-box;
|
|
284
293
|
overflow: hidden;
|
|
294
|
+
min-width: 0;
|
|
285
295
|
|
|
286
296
|
.name {
|
|
287
297
|
font-weight: bold;
|
|
@@ -296,6 +306,14 @@
|
|
|
296
306
|
//min-width: 36px;
|
|
297
307
|
font-weight: 700;
|
|
298
308
|
}
|
|
309
|
+
|
|
310
|
+
.value,
|
|
311
|
+
.suffix,
|
|
312
|
+
.prefix {
|
|
313
|
+
min-width: 0;
|
|
314
|
+
overflow-wrap: anywhere;
|
|
315
|
+
word-break: break-word;
|
|
316
|
+
}
|
|
299
317
|
}
|
|
300
318
|
}
|
|
301
319
|
|