@oxide/design-system 6.6.1 → 6.7.0-canary.e427db5

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/asciidoc.css CHANGED
@@ -419,7 +419,6 @@
419
419
  border: 1px solid var(--stroke-secondary);
420
420
  border-radius: var(--radius-md);
421
421
  padding: 1rem 1.25rem;
422
- position: relative;
423
422
 
424
423
  @media (min-width: 800px) {
425
424
  padding: 1.5rem 1.75rem;
@@ -440,9 +439,19 @@
440
439
  content: attr(data-lang);
441
440
  position: absolute;
442
441
  top: 0.5rem;
443
- right: 0.5rem;
442
+ right: 0.75rem;
444
443
  display: block;
445
444
  color: var(--content-secondary);
445
+ z-index: 1;
446
+ padding: 0 0.25rem;
447
+ background-color: var(--surface-default);
448
+ border-radius: var(--radius-sm);
449
+ }
450
+
451
+ /* Optional role that caps the height for extra long snippets */
452
+ &.scrollable pre {
453
+ max-height: 32rem;
454
+ overflow: auto;
446
455
  }
447
456
  }
448
457