change box title color

This commit is contained in:
Romulus21
2023-09-13 08:52:49 +02:00
parent 4924daad89
commit 137f8d0d4e
3 changed files with 3 additions and 3 deletions

View File

@@ -15,4 +15,4 @@ vendor/autoload.php: composer.lock
touch vendor/autoload.php touch vendor/autoload.php
public/build/manifest.json: package.json public/build/manifest.json: package.json
npm install pnpm install

View File

@@ -22,7 +22,7 @@ const AddRainfall: FC<AddRainfallProps> = ({reload}) => {
} }
return <Card className="min-w-[200px] overflow-hidden self-start w-full lg:w-auto"> return <Card className="min-w-[200px] overflow-hidden self-start w-full lg:w-auto">
<h2 className="text-center bg-blue-500 -mx-2 -mt-1 text-lg font-bold px-2 py-1"> <h2 className="text-center bg-blue-500 text-white -mx-2 -mt-1 text-lg font-bold px-2 py-1">
Ajout d'une mesure Ajout d'une mesure
</h2> </h2>
<form onSubmit={handleSubmit} className="p-2 flex flex-col gap-2"> <form onSubmit={handleSubmit} className="p-2 flex flex-col gap-2">

View File

@@ -27,7 +27,7 @@ const LastFiveMesure: FC<LastFiveMesureProps> = ({loadedAt}) => {
} }
return <Card className="min-w-[200px] overflow-hidden self-start w-full lg:w-auto"> return <Card className="min-w-[200px] overflow-hidden self-start w-full lg:w-auto">
<h1 className="text-center bg-blue-500 -mx-2 -mt-1 text-lg font-bold px-2 py-1">5 dernières mesures</h1> <h1 className="text-center bg-blue-500 text-white -mx-2 -mt-1 text-lg font-bold px-2 py-1">5 dernières mesures</h1>
{error && <div>{error}</div>} {error && <div>{error}</div>}
<table className="w-full text-center"> <table className="w-full text-center">
<tbody> <tbody>