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

Changed CSS so that the audiobook text does not overlap with the icon #10112

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
15 changes: 15 additions & 0 deletions static/css/components/buttonCta.less
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,21 @@ a.cta-btn {
}
}

// Button inside carousel
.carousel-section .cta-btn {
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
text-align: center;

&.cta-btn--external {
padding-right: 25px;
.btn-label {
padding: 8px 10px;
}
}
}

// Top margin to button coming after another button
.cta-btn + form input.cta-btn, .cta-btn + .cta-btn {
margin-top: 5px;
Expand Down
Loading