Skip to content

Commit be82a93

Browse files
Code-Fixes
1 parent 504783f commit be82a93

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

React-Cards-Layout/src/components/CardDetail.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

React-Cards-Layout/vite.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ import tailwindcss from '@tailwindcss/vite'
55
// https://vite.dev/config/
66
export default defineConfig({
77
plugins: [react(),tailwindcss()],
8-
base:'/React-Revisions/React-Cards-Layout/',
98
})

0 commit comments

Comments
 (0)