-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Fixed: The respective image should appear in the Recent&Previous Broadcast Cards #1095
Bug Fixed: The respective image should appear in the Recent&Previous Broadcast Cards #1095
Conversation
@Kajol-Kumari please review in your free time |
backgroundBlendMode: "screen", | ||
clipPath: "polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%)", | ||
backgroundImage: `linear-gradient(45deg,rgba(255, 0, 90, 1) 0%,rgba(10, 24, 61, 1) 90%),url(${item.link})`, | ||
// clipPath: "polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this?
}; | ||
return style; | ||
}); | ||
|
||
const cardImageArrayDark = dataa.map((item, i) => { | ||
const style = { | ||
height: "13em", | ||
backgroundSize: "cover", | ||
backgroundSize: "23.9em", | ||
//backgroundSize: "cover", // Cover the entire area |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove all commented code and i would prefer the image to cover the whole space instead of fixed height
backgroundBlendMode: "screen", | ||
clipPath: "polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%)", | ||
// clipPath: "polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove, if not required
@@ -62,23 +62,31 @@ export function Carousel(props) { | |||
const cardImageArrayLight = dataa.map((item, i) => { | |||
const style = { | |||
height: "13em", | |||
backgroundSize: "cover", | |||
backgroundSize: "23.9em", | |||
//backgroundSize: "cover", // Cover the entire area |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove if not required
@Kajol-Kumari i am closing this pr will make another one |
The respective image should appear in the Recent&Previous Broadcast Cards
Issue that this pull request solves
Closes: #1091
Types of changes
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply