Skip to content

Commit

Permalink
docs(js): Add note for shorthand margin (#12219)
Browse files Browse the repository at this point in the history
  • Loading branch information
chargome authored Dec 30, 2024
1 parent 6093cc2 commit e139b7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ The following values are only available as CSS variables, and apply to both dark
| `--font-size` | `14px` | The font size. |
| `--z-index` | `100000` | The z-index of the widget. |
| `--inset` | `auto 0 0 auto` | By default, the widget has fixed position, and is in the bottom right corner. |
| `--page-margin` | `16px` | The margin from the edge of the screen that the widget should be positioned. |
| `--page-margin` | `16px` | The margin from the edge of the screen that the widget should be positioned. This also accepts shorthand values like `10px 20px 30px 10px` for top/right/bottom/left margins. |

Colors can be customized by by defining CSS variables that override the default values, or by passing `themeLight` and/or `themeDark` to `feedbackIntegration({})`.

Expand Down

0 comments on commit e139b7b

Please sign in to comment.