@zerohive/hive-viewer 2.0.0 → 2.0.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/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +49 -14
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -309,16 +309,26 @@
|
|
|
309
309
|
display: block; /* Removes bottom spacing in canvas */
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
/* Loading Spinner */
|
|
313
|
-
.hv-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
312
|
+
/* Loading Spinner */
|
|
313
|
+
.hv-status-shell {
|
|
314
|
+
width: min(960px, calc(100vw - 64px));
|
|
315
|
+
max-width: 100%;
|
|
316
|
+
min-width: 0;
|
|
317
|
+
margin: 0 auto;
|
|
318
|
+
display: flex;
|
|
319
|
+
justify-content: center;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.hv-loader {
|
|
323
|
+
display: flex;
|
|
324
|
+
flex-direction: column;
|
|
325
|
+
align-items: center;
|
|
326
|
+
justify-content: center;
|
|
327
|
+
width: 100%;
|
|
328
|
+
min-height: 160px;
|
|
329
|
+
color: var(--hv-muted);
|
|
330
|
+
gap: 12px;
|
|
331
|
+
}
|
|
322
332
|
.hv-spinner {
|
|
323
333
|
width: 24px;
|
|
324
334
|
height: 24px;
|
|
@@ -334,14 +344,39 @@
|
|
|
334
344
|
|
|
335
345
|
/* Error State */
|
|
336
346
|
.hv-error-banner {
|
|
347
|
+
display: flex;
|
|
348
|
+
flex-direction: column;
|
|
349
|
+
align-items: center;
|
|
350
|
+
gap: 8px;
|
|
337
351
|
margin: 32px auto;
|
|
338
352
|
padding: 16px 24px;
|
|
339
353
|
background: #fef2f2;
|
|
340
|
-
border: 1px solid #fee2e2;
|
|
341
|
-
border-radius: var(--hv-radius);
|
|
342
|
-
color: #991b1b;
|
|
354
|
+
border: 1px solid #fee2e2;
|
|
355
|
+
border-radius: var(--hv-radius);
|
|
356
|
+
color: #991b1b;
|
|
343
357
|
text-align: center;
|
|
344
|
-
|
|
358
|
+
box-sizing: border-box;
|
|
359
|
+
width: min(560px, 100%);
|
|
360
|
+
max-width: 100%;
|
|
361
|
+
min-width: min(280px, 100%);
|
|
362
|
+
box-shadow: var(--hv-shadow);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.hv-error-banner > strong,
|
|
366
|
+
.hv-error-banner > p,
|
|
367
|
+
.hv-info-banner > strong,
|
|
368
|
+
.hv-info-banner > p {
|
|
369
|
+
display: block;
|
|
370
|
+
width: 100%;
|
|
371
|
+
max-width: none;
|
|
372
|
+
white-space: normal;
|
|
373
|
+
overflow-wrap: anywhere;
|
|
374
|
+
word-break: break-word;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.hv-error-banner > p,
|
|
378
|
+
.hv-info-banner > p {
|
|
379
|
+
margin: 0;
|
|
345
380
|
}
|
|
346
381
|
|
|
347
382
|
.hv-info-banner {
|