Merge branch 'release/1.12.0'

This commit is contained in:
2024-02-09 10:14:53 +01:00
4 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ export interface AddMonthButtonProps {
} }
export const AddMonthButton:React.FC<AddMonthButtonProps> = ({ yearMonth }) => export const AddMonthButton:React.FC<AddMonthButtonProps> = ({ yearMonth }) =>
<div className="card card-compact shadow-s my-1"> <div className="card card-compact shadow-s mb-4">
<Link href={`/year-month/${formatYearMonth(yearMonth)}/add`} className='grid self-center tooltip' data-tip="Dodaj novi mjesec"> <Link href={`/year-month/${formatYearMonth(yearMonth)}/add`} className='grid self-center tooltip' data-tip="Dodaj novi mjesec">
<span className='grid self-center'> <span className='grid self-center'>
<PlusCircleIcon className="h-[1em] w-[1em] cursor-pointer text-4xl" /> <PlusCircleIcon className="h-[1em] w-[1em] cursor-pointer text-4xl" />

View File

@@ -9,7 +9,7 @@ export interface MainProps {
export const Main:FC<MainProps> = ({ children }) => export const Main:FC<MainProps> = ({ children }) =>
<main className="flex min-h-screen flex-col bg-base-300"> <main className="flex min-h-screen flex-col bg-base-300">
<PageHeader /> <PageHeader />
<div className="mx-auto px-4"> <div className="sm:mx-auto px-4">
{children} {children}
</div> </div>
<PageFooter /> <PageFooter />

View File

@@ -30,9 +30,9 @@ export const MonthCard:FC<MonthCardProps> = ({ yearMonth, children, monthlyExpen
}, [expanded]); }, [expanded]);
return( return(
<div className={`collapse collapse-plus bg-base-200 my-1 ${expanded ? "border-2 border-neutral" : ""}`} ref={elRef}> <div className={`collapse collapse-plus bg-base-200 my-1 sm:min-w-[25em] ${expanded ? "border-2 border-neutral" : ""}`} ref={elRef}>
<input type="checkbox" name="my-accordion-3" checked={expanded} onChange={handleChange} /> <input type="checkbox" name="my-accordion-3" checked={expanded} onChange={handleChange} />
<div className="collapse-title text-xl font-medium"> <div className={`collapse-title text-xl font-medium ${expanded ? "text-white" : ""}`}>
{`${formatYearMonth(yearMonth)}`} {`${formatYearMonth(yearMonth)}`}
{ {
monthlyExpense>0 ? monthlyExpense>0 ?

View File

@@ -9,7 +9,7 @@ networks:
services: services:
web-app: web-app:
image: utility-bills-tracker:1.11.0 image: utility-bills-tracker:1.12.0
networks: networks:
- traefik-network - traefik-network
- mongo-network - mongo-network