Skip to content

Commit 3ffdbf4

Browse files
kkattamudiKarthik Kattamudi
andauthored
Added optional variable to fix the spacing issue between the summary and attributes table in docs page (#26)
* Fix:Adding a css class to fix the spacing issue between summary and attributes * Refactoring:Renamed the classname * Refacotring: Updated the style in a single class Co-authored-by: Karthik Kattamudi <kkattamudi@kkattam-ltmytmm.internal.salesforce.com>
1 parent 1921ac1 commit 3ffdbf4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@api-components/api-endpoint-documentation",
33
"description": "A component to generate documentation for a resource from AMF model",
4-
"version": "6.0.4",
4+
"version": "6.0.5",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"module": "index.js",

src/Styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ arc-marked {
155155
156156
.method p {
157157
margin: 0;
158+
margin-bottom: var(--api-method-documentation-summary-p-margin-bottom,0)
158159
}
159160
160161
.method-name + p {

0 commit comments

Comments
 (0)