Skip to content

Commit

Permalink
Upgrade docs library and remove min-width on inline playgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschorr committed Aug 1, 2022
1 parent 25acd17 commit 2ab7cbd
Show file tree
Hide file tree
Showing 3 changed files with 1,186 additions and 1,157 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.21",
"@docusaurus/module-type-aliases": "^2.0.0-beta.21",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.21",
"@docusaurus/preset-classic": "^2.0.0-beta.21",
"@docusaurus/core": "^2.0.1",
"@docusaurus/module-type-aliases": "^2.0.1",
"@docusaurus/plugin-client-redirects": "^2.0.1",
"@docusaurus/preset-classic": "^2.0.1",
"@mdx-js/react": "^1.6.21",
"amplitude-js": "^8.9.1",
"clsx": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/InlinePlayground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ import React from "react";
export function InlinePlayground(props: { reference: string, children: any[] }) {
let playgroundUrl = 'https://play.authzed.com';
return <div>
<iframe style={{ minWidth: '800px', width: '100%', border: '0px', height: '500px' }} src={`${playgroundUrl}/i/${props.reference}`}></iframe>
<iframe style={{ width: '100%', border: '0px', height: '500px' }} src={`${playgroundUrl}/i/${props.reference}`}></iframe>
</div>
}
Loading

0 comments on commit 2ab7cbd

Please sign in to comment.