File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const CardDetail = () => {
2121 < main className = 'bg-sky-200 min-w-screen min-h-screen' >
2222 < section className = 'bg-blue-500 min-h-screen p-5 flex items-center justify-center ' >
2323 < article className = 'p-5 bg-red-400 ' >
24- < p className = 'mb-5 font-black' > Post Id : { post . id } </ p >
24+ < p className = 'mb-5 font-black bg-center bg-cover ' > Post Id : { post . id } </ p >
2525 < img className = 'w-full h-80 ' src = { post . img } alt = "Content-image" loading = 'lazy' />
2626 < h1 className = 'font-bold text-3xl mt-5 text-black' > { post . tittle } </ h1 >
2727 < p className = 'text-2xl font-mono pt-2 pb-5' > { post . Content } </ p >
Original file line number Diff line number Diff line change @@ -5,5 +5,4 @@ import tailwindcss from '@tailwindcss/vite'
55// https://vite.dev/config/
66export default defineConfig ( {
77 plugins : [ react ( ) , tailwindcss ( ) ] ,
8- base :'/React-Revisions/React-Cards-Layout/' ,
98} )
You can’t perform that action at this time.
0 commit comments