Skip to content

Commit e139b7b

Browse files
authored
docs(js): Add note for shorthand margin (#12219)
1 parent 6093cc2 commit e139b7b

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/common/user-feedback/configuration

1 file changed

+1
-1
lines changed

docs/platforms/javascript/common/user-feedback/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The following values are only available as CSS variables, and apply to both dark
142142
| `--font-size` | `14px` | The font size. |
143143
| `--z-index` | `100000` | The z-index of the widget. |
144144
| `--inset` | `auto 0 0 auto` | By default, the widget has fixed position, and is in the bottom right corner. |
145-
| `--page-margin` | `16px` | The margin from the edge of the screen that the widget should be positioned. |
145+
| `--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. |
146146

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

0 commit comments

Comments
 (0)