refactor(site): make switches smaller (#14226)

This commit is contained in:
Bruno Quaresma
2024-08-09 19:19:04 +00:00
committed by GitHub
parent 21942afef3
commit c648c548d8
@@ -91,6 +91,7 @@ export const NotificationsPage: FC = () => {
<ListItemIcon>
<Switch
id={group}
size="small"
checked={!allDisabled}
onChange={async (_, checked) => {
const updated = { ...disabledPreferences.data };
@@ -126,6 +127,7 @@ export const NotificationsPage: FC = () => {
<ListItem>
<ListItemIcon>
<Switch
size="small"
id={tmpl.id}
checked={!disabledPreferences.data[tmpl.id]}
onChange={async (_, checked) => {