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

Listing item layout breaking with long badges #274

Open
gingapa opened this issue May 28, 2024 · 1 comment
Open

Listing item layout breaking with long badges #274

gingapa opened this issue May 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gingapa
Copy link

gingapa commented May 28, 2024

OEL-2270 introduced a .text-break class for the bcl-listing to fix the layout braking with long words, but this is not enough to solve the issue IF there are long BADGES inside the card (by default, badges have the rulewhite-space: nowrap):

image

On UCPKN we added the following SCSS as a quick fix:

.listing-item { .col-sm, .col-md, .col-lg, .col-xl, .col-xxl { // Add dynamic max-width of 100% less .bcl-card-start-col width less gutter-x size; max-width: calc(100% - $card-start-col-size - var(--bs-gutter-x)); } }

@brummbar brummbar added the bug Something isn't working label Jun 28, 2024
@raqfialho
Copy link

Hi @gingapa, thanks for opening this issue! We appreciate your help. Would you be interested in submitting a pull request with your fix? Your contribution would be valuable to all of us :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants