-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 overlap between button text and icon #9066
Fixed overlap between button text and icon #9066
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9066 +/- ##
=======================================
Coverage 15.93% 15.93%
=======================================
Files 89 89
Lines 4720 4720
Branches 823 823
=======================================
Hits 752 752
Misses 3457 3457
Partials 511 511 ☔ View full report in Codecov by Sentry. |
@Realmbird it is on testing now and it is working as expected. I think it fixes the initial concern. However, I want to run it by the design team in the call today. 👍 |
Thanks |
The design call didn't have time for me to bring this up. Maybe @cdrini can comment directly. |
@Realmbird we have to wait for @cdrini to comment on this one. He's off Thursday and Friday so it will probably have to wait until next week. Here are my thoughts though:
|
@Realmbird |
Problem with text and icon is current version is a background image for the button, so it can't be scaled well currently |
@Realmbird feel free to play around with moving the icon out but ultimately we should wait for Drini's input here. We can try to get his input on the Tuesday call. |
Ok in the mean time gonna work on other issue |
Howdy folks! I think what we can try is; apologies it will be a little involved!
That should do it, and give us something like this Here's the css I experimented with ; although yours will likely look different / be in a different spot |
Ok will make changes to css |
…cate padding and removes wrap
2edaa06
to
cb6645f
Compare
@cdrini Added your changes |
Screencast from 05-22-2024 11:22:57 AM.webm |
@@ -66,7 +66,7 @@ export class Carousel { | |||
speed: 300, | |||
slidesToShow: this.config.booksPerBreakpoint[0], | |||
slidesToScroll: this.config.booksPerBreakpoint[0], | |||
responsive: [1200, 1024, 600, 480, 360] | |||
responsive: [1200, 1024, 740, 580, 360] |
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.
responsive: [1200, 1024, 740, 580, 360] | |
responsive: [1200, 1024, 600, 480, 360] |
Lets restore these (I think that's what Drini wanted) then I'll put it on testing so we can see how things look!
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.
Changing numbers breaks it on firefox it briefly overlaps
@Realmbird that screenshot didn't finish uploading. |
Closing this to offer up someone else to work on this one. |
Closes #8899
Fixes overlap between button text and icon
Technical
Issue: Audio book read buttons had button text & icon "external link" overlap on smaller screen sizes
Cause: Responsive booksPerBreakpoints were not accurate with when less pages should be shown on the page
Fix: Changing responsive booksPerBreakpoints was not css like issue had stated
Testing
// For running site
// Adding data
Screenshot
Screencast from 04-10-2024 01:54:07 PM.webm
Will be screencast to demonstrate that text never overlaps with icon
Stakeholders
@cdrini @RayBB