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

KCard: Remove the border-radius on align left #741

Closed
1 task
AllanOXDi opened this issue Aug 21, 2024 · 6 comments
Closed
1 task

KCard: Remove the border-radius on align left #741

AllanOXDi opened this issue Aug 21, 2024 · 6 comments
Assignees
Labels
Component: KCard good first issue Self-contained, straightforward, low-complexity help wanted Open source contributors welcome P2 - normal Priority: Nice to have

Comments

@AllanOXDi
Copy link
Member

AllanOXDi commented Aug 21, 2024

🌱 Are you new to the codebase? Welcome! Please see the contributing guidelines.

Summary

We need to remove border-radius when the thumbnail display is align left using thumbnailAlign prop. But keep it when the the thumbnail is align left and thumbnailDisplay prop is small

References

This need is motivated by new additions to the cards family in Kolibri, such as

learningequality/kolibri#12318
learningequality/kolibri#12317
learningequality/kolibri#12319

Current behavior

When the card is align left we are still seeing small rounded corners around the card's outer border.

Screenshot 2024-08-21 at 17 57 04

Expected behavior

The border-radius needs to be removed on :thumbnailAlign='left' and :thumbnailDisplay='large'

Acceptance criteria

  • Implemented as specified above
@AllanOXDi AllanOXDi added help wanted Open source contributors welcome Component: KCard labels Aug 21, 2024
@AllanOXDi AllanOXDi added this to the KCard 2.0 and KCardGrid milestone Aug 21, 2024
@AllanOXDi AllanOXDi added the good first issue Self-contained, straightforward, low-complexity label Aug 21, 2024
@MisRob MisRob added the P2 - normal Priority: Nice to have label Aug 22, 2024
@Spoorthy1423
Copy link
Contributor

Hey!! I would like to work on this issue @AllanOXDi please assign me this issue!!

@AllanOXDi
Copy link
Member Author

Hi @Spoorthy1423 I have assigned it to you

@Spoorthy1423
Copy link
Contributor

Spoorthy1423 commented Aug 24, 2024

Hey!! @AllanOXDi can u review my pr please!!! i would like to contribute to this repo further.

@AllanOXDi
Copy link
Member Author

AllanOXDi commented Aug 25, 2024

Hey @Spoorthy1423 Thanks for letting me know . I have reviewed your PR and left for you a small comments. But overall, the changes looks good to me. Thank you for working on this issue.

@Spoorthy1423
Copy link
Contributor

Spoorthy1423 commented Aug 26, 2024

Hey!! @MisRob i have raised another pr where i changed all the changes described and maintained changelog but in the last my pull request link is a bit wrong hope u get that in it..hope u like it Thank you!!

@MisRob
Copy link
Member

MisRob commented Aug 27, 2024

Close by #754

@MisRob MisRob closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: KCard good first issue Self-contained, straightforward, low-complexity help wanted Open source contributors welcome P2 - normal Priority: Nice to have
Projects
None yet
Development

No branches or pull requests

3 participants