Skip to content

Commit

Permalink
fix(docs): add space between prop declaration and custom prop in scss…
Browse files Browse the repository at this point in the history
… to show in args table
  • Loading branch information
goodwinchris committed Mar 2, 2023
1 parent 0c49d9e commit a0d806c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/core/src/components/sage-tabs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
| `"tabs"` | Content is placed within the `div[role="tablist"]` element as children |


## CSS Custom Properties

| Name | Description |
| -------------------- | ------------------------------ |
| `--panel-margin-top` | Optional margin-top for panels |
| `--panel-padding` | Optional padding for panels |


----------------------------------------------


2 changes: 2 additions & 0 deletions libs/core/src/components/sage-tabs/sage-tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
/**
* @prop --panel-margin-top: Optional margin-top for panels
*/

--panel-margin-top: 0;

/**
* @prop --panel-padding: Optional padding for panels
*/

--panel-padding: 0;

display: block;
Expand Down

0 comments on commit a0d806c

Please sign in to comment.