From 1fe3910749e1484ca2048bc212a83102b1713093 Mon Sep 17 00:00:00 2001 From: Benjamin Leong Date: Tue, 1 Jun 2021 12:11:04 -0700 Subject: [PATCH 1/2] fix border bottom style --- src/Styles.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Styles.js b/src/Styles.js index 614bb55..c7e623b 100644 --- a/src/Styles.js +++ b/src/Styles.js @@ -102,8 +102,9 @@ export default css` display: flex; flex-direction: row; align-items: center; - border-bottom: 1px var(--api-parameters-document-title-border-color, #e5e5e5) solid; - border: var(--api-parameters-document-title-border); + border-bottom: var(--api-parameters-document-title-border-bottom, + 1px var(--api-parameters-document-title-border-color, #e5e5e5) solid + ); cursor: pointer; user-select: none; transition: border-bottom-color 0.15s ease-in-out; From f7884f8f163ee726125bfd0dfb0a419ba961443d Mon Sep 17 00:00:00 2001 From: Benjamin Leong Date: Tue, 1 Jun 2021 13:33:21 -0700 Subject: [PATCH 2/2] fix .url-area margin css var --- src/Styles.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Styles.js b/src/Styles.js index c7e623b..aa70c09 100644 --- a/src/Styles.js +++ b/src/Styles.js @@ -85,9 +85,7 @@ export default css` font-size: var(--api-method-documentation-url-font-size, 1.07rem); font-weight: var(--api-method-documentation-url-font-weight); line-height: var(--api-method-documentation-url-line-height); - margin-bottom: 40px; - margin-top: 20px; - margin: var(--api-method-documentation-url-margin); + margin: var(--api-method-documentation-url-margin, 20px 0 40px 0); background-color: var(--api-method-documentation-url-background-color, var(--code-background-color)); color: var( --api-method-documentation-url-font-color,