@zerohive/hive-viewer 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/dist/styles.css +18 -4
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -337,11 +337,25 @@
337
337
  margin: 32px auto;
338
338
  padding: 16px 24px;
339
339
  background: #fef2f2;
340
- border: 1px solid #fee2e2;
341
- border-radius: var(--hv-radius);
342
- color: #991b1b;
340
+ border: 1px solid #fee2e2;
341
+ border-radius: var(--hv-radius);
342
+ color: #991b1b;
343
343
  text-align: center;
344
- max-width: 500px;
344
+ box-sizing: border-box;
345
+ width: min(100%, 560px);
346
+ min-width: min(100%, 280px);
347
+ max-width: 560px;
348
+ box-shadow: var(--hv-shadow);
349
+ }
350
+
351
+ .hv-error-banner strong,
352
+ .hv-error-banner p {
353
+ overflow-wrap: anywhere;
354
+ word-break: break-word;
355
+ }
356
+
357
+ .hv-error-banner p {
358
+ margin: 8px 0 0;
345
359
  }
346
360
 
347
361
  .hv-info-banner {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerohive/hive-viewer",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",