suggest image position adjusted
This commit was merged in pull request #249.
This commit is contained in:
@@ -26,7 +26,8 @@ export default function FamilyMarketCard({ className, datas, hidden = false }) {
|
|||||||
className="w-full h-[236px] p-6 rounded-xl overflow-hidden"
|
className="w-full h-[236px] p-6 rounded-xl overflow-hidden"
|
||||||
onClick={popUpHandler}
|
onClick={popUpHandler}
|
||||||
style={{
|
style={{
|
||||||
background: `url(${selectedImage}) 0% 0% / cover no-repeat`,
|
// background: `url(${selectedImage}) 0% 0% / cover no-repeat`,
|
||||||
|
background: `url(${selectedImage}) center / contain no-repeat`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="product-two-options flex justify-between mb-5 relative">
|
<div className="product-two-options flex justify-between mb-5 relative">
|
||||||
|
|||||||
@@ -81,7 +81,8 @@ const SuggestTask = ({ details, onClose, situation }) => {
|
|||||||
<div
|
<div
|
||||||
className="w-full h-[236px] p-6 bg-gray-400 rounded-xl overflow-hidden"
|
className="w-full h-[236px] p-6 bg-gray-400 rounded-xl overflow-hidden"
|
||||||
style={{
|
style={{
|
||||||
background: `url(${selectedImage}) 0% 0% / cover no-repeat`,
|
// background: `url(${selectedImage}) 0% 0% / cover no-repeat`,
|
||||||
|
background: `url(${selectedImage}) center / contain no-repeat`,
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -23,11 +23,7 @@ export default function ParentWaiting({ className }) {
|
|||||||
Waiting for Parent to Get Started...
|
Waiting for Parent to Get Started...
|
||||||
</h1>
|
</h1>
|
||||||
<Link
|
<Link
|
||||||
// type="button"
|
to='/familymarket'
|
||||||
// onClick={() => {
|
|
||||||
// navigate("/resources");
|
|
||||||
// }}
|
|
||||||
to='/resources'
|
|
||||||
className="px-4 h-10 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
className="px-4 h-10 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
||||||
>
|
>
|
||||||
More Task
|
More Task
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ export default function MyTasks({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate("/resources");
|
navigate("/familymarket");
|
||||||
}}
|
}}
|
||||||
className="px-4 h-10 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
className="px-4 h-10 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user