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
Fixed Access the collection button style #978
Conversation
Hi @suecarmol , |
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.
Before I can review this, please fill out the How Has This Been Tested?
and Screenshots of your changes (if appropriate):
sections of the PR template
I have added the screenshot but am quite confused about what to write in |
You write the steps to check that the bug has been fixed. For example, in this case, you could add the following:
Basically, the |
Hi @suecarmol , |
We had a problem with travis ci that was causing pr tests to fail. I mitigated the issue in master and rebased this PR to resolve the problem here too. |
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.
Hi @Ankit-Gupta18! Thank you for working on this bug fix. On taking a look at this PR, I think this is the wrong approach to try and solve this.
When I started developing this section, I took the wrong approach, and instead of working with Bootstrap 4 classes, I made my own breakpoints. I should've known not to re-invent the wheel :)
To really fix the bug, try looking at https://getbootstrap.com/docs/4.0/layout/grid/ to add a container div and column divs inside the card-footer
section of TWLight/users/templates/users/user_collection_tile.html
.
Let me know if you have any questions about how to approach this solution!
I tried adding container and col divs but it didn't work as expected. Possibly I must be placing them wrongly so, can you please detail to me where to exactly add those classes? |
Please upload your changes so I can take a look at them |
I have uploaded them as a commit. It may contain blunders. Sorry for it but I am a bit confused at this part. |
Hi @suecarmol , |
Try adding |
Doing as you stated, things were not working as expected. I tried to add some CSS to make things look better(image attached). Please review them if it is fine. |
Thank you for working on this! Because this was a trickier bug than I first thought, I tried fixing the bug myself and filed #987. You can take a look at how I solved this bug :) |
Description
On the collection listing page, the style of the button to view a collection is broken. Some part of the label text is not visible because the background color doesn't cover the full button.
Rationale
Phabricator Ticket
//: # (Link to the Phabricator ticket)
How Has This Been Tested?
Screenshots of your changes (if appropriate):
Types of changes
What types of changes does your code introduce? Add an
x
in all the boxes that apply: