Skip to content

Commit c58493a

Browse files
visual adjustments
1 parent f3e16bb commit c58493a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

admin/src/pages/CalendarPage.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ const CalendarPage = () => {
4343
})}
4444
action={
4545
<LinkButton
46-
variant="secondary"
46+
variant="primary"
4747
href={`/admin/settings/${PLUGIN_ID}`}
48-
startIcon={<Cog />}
48+
startIcon={<Cog color={'white'} />}
4949
>
5050
{formatMessage({
5151
id: getTranslation('view.calendar.state.empty.configure-settings.action'),
@@ -133,7 +133,7 @@ const CalendarPage = () => {
133133
}
134134
135135
.fc-timegrid-slots tr {
136-
height: 4em;
136+
height: 3.5em;
137137
}
138138
139139
.fc-daygrid-day-frame {
@@ -177,6 +177,7 @@ const CalendarPage = () => {
177177
initialView={initialView}
178178
slotMinTime={settings.startHour}
179179
slotMaxTime={settings.endHour}
180+
allDaySlot={false}
180181
views={{
181182
workWeek: {
182183
type: 'timeGrid',

admin/src/utils/defaultSettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const defaultSettings: SettingsType = {
88
colorField: null,
99
defaultDuration: 30,
1010
drafts: true,
11-
startHour: '0:00',
12-
endHour: '23:59',
11+
startHour: '9:00',
12+
endHour: '18:00',
1313
defaultView: 'Month',
1414
monthView: true,
1515
weekView: true,

0 commit comments

Comments
 (0)