diff --git a/src/Styles.js b/src/Styles.js index 614bb55..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, @@ -102,8 +100,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;