style: prevent overflow on defaults

This commit is contained in:
Carlos Valente
2024-04-21 23:17:11 +02:00
committed by Carlos Valente
parent 8da8a08464
commit dcbb92c470
2 changed files with 5 additions and 5 deletions
@@ -24,7 +24,7 @@ interface ScheduleProviderProps {
time?: number;
}
const numEventsPerPage = 10;
const numEventsPerPage = 8;
export const ScheduleProvider = ({
children,
@@ -393,9 +393,9 @@ export const getBackstageOptions = (timeFormat: string, customFields: CustomFiel
{
id: 'eventsPerPage',
title: 'Events per page',
description: 'Sets the number of events on the page, can cause overlow',
description: 'Sets the number of events on the page, can cause overflow',
type: 'number',
placeholder: '10 (default)',
placeholder: '8 (default)',
},
{
id: 'secondary-src',
@@ -430,9 +430,9 @@ export const getPublicOptions = (timeFormat: string, customFields: CustomFields)
{
id: 'eventsPerPage',
title: 'Events per page',
description: 'Sets the number of events on the page, can cause overlow',
description: 'Sets the number of events on the page, can cause overflow',
type: 'number',
placeholder: '10 (default)',
placeholder: '8 (default)',
},
{
id: 'secondary-src',