Skip to content
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

Closed

Conversation

shivamgaur99
Copy link
Contributor

@shivamgaur99 shivamgaur99 commented Jul 30, 2024

The respective image should appear in the Recent&Previous Broadcast Cards

Issue that this pull request solves

Closes: #1091

image

Types of changes

Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (Documentation content changed)
  • Other (please describe):

Checklist

Put an x in the boxes that apply

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • My changes does not break the current system and it passes all the current test cases.

@auto-assign auto-assign bot requested a review from Kajol-Kumari July 30, 2024 19:17
@shivamgaur99
Copy link
Contributor Author

@Kajol-Kumari please review in your free time

@shivamgaur99 shivamgaur99 marked this pull request as draft July 31, 2024 08:54
@shivamgaur99 shivamgaur99 marked this pull request as ready for review July 31, 2024 10:27
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%)",
Copy link
Member

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
Copy link
Member

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%)",
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove if not required

@shivamgaur99
Copy link
Contributor Author

@Kajol-Kumari i am closing this pr will make another one

@shivamgaur99 shivamgaur99 deleted the fix/issue-1091 branch July 31, 2024 18:41
@shivamgaur99 shivamgaur99 restored the fix/issue-1091 branch July 31, 2024 18:41
@shivamgaur99 shivamgaur99 deleted the fix/issue-1091 branch July 31, 2024 18:45
@shivamgaur99 shivamgaur99 restored the fix/issue-1091 branch July 31, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Images not Appearing under Recent&Previous Broadcast Cards
2 participants