diff --git a/change/@fluentui-web-components-2021-01-04-10-57-05-users-v-sedono-fix-switch-label-padding-cursor-pointer.json b/change/@fluentui-web-components-2021-01-04-10-57-05-users-v-sedono-fix-switch-label-padding-cursor-pointer.json new file mode 100644 index 00000000000000..51cb1bfed8f281 --- /dev/null +++ b/change/@fluentui-web-components-2021-01-04-10-57-05-users-v-sedono-fix-switch-label-padding-cursor-pointer.json @@ -0,0 +1,8 @@ +{ + "type": "patch", + "comment": "add switch label margin and cursor pointer", + "packageName": "@fluentui/web-components", + "email": "sethdonohue@Admins-MBP.guest.corp.microsoft.com", + "dependentChangeType": "patch", + "date": "2021-01-04T18:57:05.315Z" +} diff --git a/packages/web-components/src/switch/switch.styles.ts b/packages/web-components/src/switch/switch.styles.ts index 4bf57603eecd2a..1489fc2dab0e7d 100644 --- a/packages/web-components/src/switch/switch.styles.ts +++ b/packages/web-components/src/switch/switch.styles.ts @@ -105,6 +105,8 @@ export const SwitchStyles = css` color: ${neutralForegroundRestBehavior.var}; font-size: var(--type-ramp-base-font-size); line-height: var(--type-ramp-base-line-height); + margin-inline-end: calc(var(--design-unit) * 2px + 2px); + cursor: pointer; } ::slotted(*) {