Skip to content

Commit e16973e

Browse files
committed
chore: update README.md
1 parent 50e6bc3 commit e16973e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ floatSidebar.destroy();
8181

8282
## Options
8383

84-
| Name | Type | Default | Description |
85-
| :------------ | :------------ | :-------------------------- | ----------------------------------------------------------------------------------- |
86-
| sidebar | `HTMLElement` | Required | The sidebar element |
87-
| relative | `HTMLElement` | Required | The sidebar relative element, e.g. the main content |
88-
| viewport | `HTMLElement` | `window` | The viewport element |
89-
| sidebarInner | `HTMLElement` | `sidebar.firstElementChild` | The sidebar inner element |
90-
| topSpacing | `number` | `0` | The space from the top of the viewport. Used when the sidebar is in fixed state. |
84+
| Name | Type | Default | Description |
85+
|:------------- |:------------- |:--------------------------- | ---------------- |
86+
| sidebar | `HTMLElement` | Required | The sidebar element |
87+
| relative | `HTMLElement` | Required | The sidebar relative element, e.g. the main content |
88+
| viewport | `HTMLElement` | `window` | The viewport element |
89+
| sidebarInner | `HTMLElement` | `sidebar.firstElementChild` | The sidebar inner element |
90+
| topSpacing | `number` | `0` | The space from the top of the viewport. Used when the sidebar is in fixed state. |
9191
| bottomSpacing | `number` | `0` | The space from the bottom of the viewport. Used when the sidebar is in fixed state. |
9292

9393
## Instance API

0 commit comments

Comments
 (0)