Skip to content

Re-configure breakpoints for pagination container queries (CMEM-7458)#385

Open
haschek wants to merge 4 commits intodevelopfrom
bugfix/paginationBreakpoints-CMEM-7458
Open

Re-configure breakpoints for pagination container queries (CMEM-7458)#385
haschek wants to merge 4 commits intodevelopfrom
bugfix/paginationBreakpoints-CMEM-7458

Conversation

@haschek
Copy link
Copy Markdown
Member

@haschek haschek commented Apr 1, 2026

No description provided.

@haschek haschek marked this pull request as ready for review April 13, 2026 14:14
display: inline-block;
}
.#{$prefix}--pagination__left > * {
display: inherit;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this overwriting the previous rule if e.g. a pagination__text is inside pagination__left, thus setting pagination__text to display: flex?


// fix breakpoints for container queries
// Carbon does not provide the option to configure that breakpoint
@container pagination (min-width: #{$eccgui-size-pagination-breakpoint-small}) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These rules overwrite the rules at the top to hide certain elements. See added storybook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants