diff --git a/demo/package.json b/demo/package.json index 3b48fee5c..c1a801c9c 100644 --- a/demo/package.json +++ b/demo/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@stoplight/elements": "^7.7.3", + "@stoplight/elements": "^7.7.5", "@stoplight/mosaic": "^1.33.0", "history": "^5.0.0", "react": "16.14.0", diff --git a/packages/elements-core/package.json b/packages/elements-core/package.json index d0d8f326f..ea2952000 100644 --- a/packages/elements-core/package.json +++ b/packages/elements-core/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/elements-core", - "version": "7.7.4", + "version": "7.7.5", "sideEffects": [ "web-components.min.js", "src/web-components/**", diff --git a/packages/elements-core/src/components/Docs/Sections.tsx b/packages/elements-core/src/components/Docs/Sections.tsx index 74d1ed0b9..bb4332428 100644 --- a/packages/elements-core/src/components/Docs/Sections.tsx +++ b/packages/elements-core/src/components/Docs/Sections.tsx @@ -12,11 +12,11 @@ export interface ISectionTitle { export const SectionTitle: React.FC = ({ title, id, size = 2, children }) => { return ( - + {title} - + {children} diff --git a/packages/elements-core/src/core.css b/packages/elements-core/src/core.css index f74c7ed1d..dfbe399e0 100644 --- a/packages/elements-core/src/core.css +++ b/packages/elements-core/src/core.css @@ -85,3 +85,8 @@ font-size: 12px; line-height: 1.5em; } + +.sl-elements .HttpOperation div[role=tablist] { + /* Enables horizontal scrolling for response tabs */ + overflow-x: auto; +} diff --git a/packages/elements-dev-portal/package.json b/packages/elements-dev-portal/package.json index b669489e0..1a0502d54 100644 --- a/packages/elements-dev-portal/package.json +++ b/packages/elements-dev-portal/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/elements-dev-portal", - "version": "1.9.4", + "version": "1.9.5", "description": "UI components for composing beautiful developer documentation.", "keywords": [], "sideEffects": [ @@ -64,7 +64,7 @@ ] }, "dependencies": { - "@stoplight/elements-core": "~7.7.4", + "@stoplight/elements-core": "~7.7.5", "@stoplight/markdown-viewer": "^5.5.0", "@stoplight/mosaic": "^1.33.0", "@stoplight/path": "^1.3.2", diff --git a/packages/elements/package.json b/packages/elements/package.json index 0a1c951b1..f40d2abf8 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/elements", - "version": "7.7.4", + "version": "7.7.5", "description": "UI components for composing beautiful developer documentation.", "keywords": [], "sideEffects": [ @@ -62,7 +62,7 @@ ] }, "dependencies": { - "@stoplight/elements-core": "~7.7.4", + "@stoplight/elements-core": "~7.7.5", "@stoplight/http-spec": "^5.1.4", "@stoplight/json": "^3.18.1", "@stoplight/mosaic": "^1.33.0",