mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-22 07:29:08 +00:00
style: prevent overflow on defaults
This commit is contained in:
committed by
Carlos Valente
parent
8da8a08464
commit
dcbb92c470
@@ -24,7 +24,7 @@ interface ScheduleProviderProps {
|
|||||||
time?: number;
|
time?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const numEventsPerPage = 10;
|
const numEventsPerPage = 8;
|
||||||
|
|
||||||
export const ScheduleProvider = ({
|
export const ScheduleProvider = ({
|
||||||
children,
|
children,
|
||||||
|
|||||||
@@ -393,9 +393,9 @@ export const getBackstageOptions = (timeFormat: string, customFields: CustomFiel
|
|||||||
{
|
{
|
||||||
id: 'eventsPerPage',
|
id: 'eventsPerPage',
|
||||||
title: 'Events per page',
|
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',
|
type: 'number',
|
||||||
placeholder: '10 (default)',
|
placeholder: '8 (default)',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'secondary-src',
|
id: 'secondary-src',
|
||||||
@@ -430,9 +430,9 @@ export const getPublicOptions = (timeFormat: string, customFields: CustomFields)
|
|||||||
{
|
{
|
||||||
id: 'eventsPerPage',
|
id: 'eventsPerPage',
|
||||||
title: 'Events per page',
|
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',
|
type: 'number',
|
||||||
placeholder: '10 (default)',
|
placeholder: '8 (default)',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'secondary-src',
|
id: 'secondary-src',
|
||||||
|
|||||||
Reference in New Issue
Block a user