diff --git a/www/src/components/_doc-elements.scss b/www/src/components/_doc-elements.scss index decd92b57e..fc64095e67 100644 --- a/www/src/components/_doc-elements.scss +++ b/www/src/components/_doc-elements.scss @@ -342,3 +342,14 @@ grid-template-columns: repeat(4, 1fr); // 4 columns for large+ screens } } + +.pgn-doc__code-display-block { + .pgn__data-table-cell-wrap { + max-width: max-content; + } + + @media (--pgn-size-breakpoint-max-width-md) { + overflow: hidden; + overflow-x: scroll; + } +} diff --git a/www/src/components/typography-page/Display.tsx b/www/src/components/typography-page/Display.tsx index 5762a98ab6..26c7379637 100644 --- a/www/src/components/typography-page/Display.tsx +++ b/www/src/components/typography-page/Display.tsx @@ -10,7 +10,7 @@ export default function Display() { return ( <>
a
tags that don`t appear in a p
tag.,
- },
{
example: An inline link in a sentence.,
description: For links inside a p
or with the .inline-link
class name.,
@@ -34,6 +31,9 @@ export default function Links() {
return (
<>
a
tag that appear outside of p
tag.
+