snug scheduler UI to fit the whole day in one screen

This commit is contained in:
Dobromir Popov
2024-04-24 15:03:08 +03:00
parent 84bf0d001e
commit bc7d066346
2 changed files with 5 additions and 5 deletions

View File

@ -677,7 +677,7 @@ export default function CalendarPage({ initialEvents, initialShifts }) {
list of publishers for the selected date with availabilities
------------------AVAILABLE PUBLISHERS LIST FOR THE SELECTED DATE0 ------------------ */}
<div className="flex flex-col items-center my-8 sticky top-0">
<div className="flex flex-col items-center my-4 sticky top-0">
<h2 className="text-lg font-semibold mb-4">Достъпни за този ден: <span className="text-blue-600">{availablePubs.length}</span></h2>
<label className="toggle pb-3">
@ -719,7 +719,7 @@ export default function CalendarPage({ initialEvents, initialShifts }) {
return (
<li key={index}
className={`flex justify-between items-center p-4 rounded-lg shadow-sm mb-2
className={`flex justify-between items-center p-4 sm:py-2 rounded-lg shadow-sm mb-2
${bgAndBorderColorClass} ${selectedBorderClass} ${activeOpacityClass}`}
onDoubleClick={(handlePublisherModalOpen.bind(this, pub))}
>