From 5a883d8dbb0e63719865f35128e857e109fb377f Mon Sep 17 00:00:00 2001 From: Seth Donohue Date: Mon, 4 Jan 2021 09:53:38 -0800 Subject: [PATCH 1/3] add switch label padding and cursor pointer --- packages/web-components/src/switch/switch.styles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web-components/src/switch/switch.styles.ts b/packages/web-components/src/switch/switch.styles.ts index 4bf57603eecd2..1489fc2dab0e7 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(*) { From cb02a277f4dd983aad4550eb90982d2bd72becd4 Mon Sep 17 00:00:00 2001 From: Seth Donohue Date: Mon, 4 Jan 2021 10:57:05 -0800 Subject: [PATCH 2/3] Change files --- ...-v-sedono-fix-switch-label-padding-cursor-pointer.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 change/@fluentui-web-components-2021-01-04-10-57-05-users-v-sedono-fix-switch-label-padding-cursor-pointer.json 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 0000000000000..ca0d75858e594 --- /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 padding and cursor pointer", + "packageName": "@fluentui/web-components", + "email": "sethdonohue@Admins-MBP.guest.corp.microsoft.com", + "dependentChangeType": "patch", + "date": "2021-01-04T18:57:05.315Z" +} From 12a0e1505ac7e0fa5eaf99b361b50d04a0f009de Mon Sep 17 00:00:00 2001 From: Seth Donohue <31681651+SethDonohue@users.noreply.github.com> Date: Mon, 4 Jan 2021 12:18:11 -0800 Subject: [PATCH 3/3] Update change/@fluentui-web-components-2021-01-04-10-57-05-users-v-sedono-fix-switch-label-padding-cursor-pointer.json --- ...-users-v-sedono-fix-switch-label-padding-cursor-pointer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index ca0d75858e594..51cb1bfed8f28 100644 --- 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 @@ -1,6 +1,6 @@ { "type": "patch", - "comment": "add switch label padding and cursor pointer", + "comment": "add switch label margin and cursor pointer", "packageName": "@fluentui/web-components", "email": "sethdonohue@Admins-MBP.guest.corp.microsoft.com", "dependentChangeType": "patch",