From 2a6b40d2ed32f932dd469cca5506091e75b95487 Mon Sep 17 00:00:00 2001 From: glosier Date: Mon, 28 Dec 2020 07:17:36 -0800 Subject: [PATCH] figured out adding a class to auth --- demo/index.html | 8 ++++++++ demo/playground/index.html | 8 ++++++++ src/components/SecuritySchemes/SecuritySchemes.tsx | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/demo/index.html b/demo/index.html index 8675b407..5a81e5ad 100644 --- a/demo/index.html +++ b/demo/index.html @@ -21,6 +21,14 @@ redoc { display: block; } + + .auth { + padding: 20px 0 0 0 !important; + } + + h1, h2, h3, h4 { + padding-bottom: 0px !important; + } diff --git a/demo/playground/index.html b/demo/playground/index.html index d322ee3e..476eedfd 100644 --- a/demo/playground/index.html +++ b/demo/playground/index.html @@ -14,6 +14,14 @@ redoc { display: block; } + + .auth { + padding: 10px 0 0 0 !important; + } + + h1, h2, h3, h4 { + margin-bottom: 0px !important; + } diff --git a/src/components/SecuritySchemes/SecuritySchemes.tsx b/src/components/SecuritySchemes/SecuritySchemes.tsx index 32ae2da5..9580c418 100644 --- a/src/components/SecuritySchemes/SecuritySchemes.tsx +++ b/src/components/SecuritySchemes/SecuritySchemes.tsx @@ -68,7 +68,7 @@ export interface SecurityDefsProps { export class SecurityDefs extends React.PureComponent { render() { return this.props.securitySchemes.schemes.map(scheme => ( -
+