diff --git a/grafana-plugin/src/containers/ScheduleSlot/ScheduleSlot.module.css b/grafana-plugin/src/containers/ScheduleSlot/ScheduleSlot.module.css index ce26a72d..135a89a0 100644 --- a/grafana-plugin/src/containers/ScheduleSlot/ScheduleSlot.module.css +++ b/grafana-plugin/src/containers/ScheduleSlot/ScheduleSlot.module.css @@ -83,4 +83,4 @@ .is-oncall-icon { color: var(--oncall-icon-stroke-color); margin-left: -2px; -} +} \ No newline at end of file diff --git a/grafana-plugin/src/containers/UsersTimezones/UsersTimezones.tsx b/grafana-plugin/src/containers/UsersTimezones/UsersTimezones.tsx index e6601e90..3a50d5e1 100644 --- a/grafana-plugin/src/containers/UsersTimezones/UsersTimezones.tsx +++ b/grafana-plugin/src/containers/UsersTimezones/UsersTimezones.tsx @@ -287,7 +287,9 @@ const AvatarGroup = (props: AvatarGroupProps) => { width={35} height={35} renderAvatar={() => } - renderIcon={() => (isOncall ? : null)} + renderIcon={() => + isOncall ? : null + } > diff --git a/grafana-plugin/src/icons/index.tsx b/grafana-plugin/src/icons/index.tsx index ffc6f75c..a9d55ee6 100644 --- a/grafana-plugin/src/icons/index.tsx +++ b/grafana-plugin/src/icons/index.tsx @@ -247,16 +247,20 @@ export const ExpandIcon = (props: IconProps) => { interface IsOncallIconProps { className: string; + width?: number; + height?: number; } export const IsOncallIcon = (props: IsOncallIconProps) => { const { className } = props; + const width = props.width || 17; + const height = props.height || 16; return (