adjust some margins, Todo

This commit is contained in:
Dobromir Popov
2024-04-25 18:01:57 +03:00
parent bc7d066346
commit 96dfdf3384
3 changed files with 12 additions and 6 deletions

View File

@ -214,9 +214,15 @@ fix published schedule to cover end of the week
имейлите - ОК
графика - синк - ОК
вестителите от Фабио -
вестителите от Фабио - OK
потребителите с двойни имейли -
админс can send *urgent* email to everybody to ask for shift
in schedule admin - if a publisher is always pair & family is not in the shift - add + button to add them
last login. pubs.
otchet - za denq
делете цонфирм
статистика - фкс (янка) + posledno vlizane

View File

@ -55,12 +55,12 @@ export default function Layout({ children }) {
return (
<div className="">
<div className="flex flex-col">
<div className="flex flex-row min-h-screen w-screen">
<div className="flex flex-col ">
<div className="flex flex-row min-h-screen w-screen pr-8">
<ToastContainer position="top-center" style={{ zIndex: 9999 }} />
<Sidebar isSidebarOpen={isSidebarOpen} toggleSidebar={toggleSidebar} />
<main className={`flex-1 transition-all duration-300 ${marginLeftClass}`}>
<div className="p-4 mx-auto pr-8 pl-0">
<div className="">
{children}
</div>
</main>

View File

@ -63,9 +63,9 @@ export default function IndexPage({ initialItems, initialUserId }: IProps) {
<ProtectedRoute allowedRoles={[UserRole.ADMIN]} deniedMessage="">
<PublisherSearchBox selectedId={userId} infoText="" onChange={handleUserSelection} />
</ProtectedRoute>
<div className="flex flex-row md:flex-row mt-4 space-y-4 md:space-y-0 md:space-x-4 h-[calc(100vh-10rem)]">
<div className="flex flex-row md:flex-row mt-4 xs:mt-1 space-y-4 md:space-y-0 md:space-x-4 h-[calc(100vh-10rem)]">
<div className="flex-1">
<div className="text-center font-bold pb-3">
<div className="text-center font-bold pb-3 xs:pb-1">
<PublisherInlineForm publisherId={userId} />
</div>
<AvCalendar publisherId={userId} events={events} selectedDate={new Date()} />