Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 87e6717

Browse files
committed
fix(plugins/plugin-carbon-tables): pagination overflows when sidecar is open
Fixes #3861
1 parent f0fe792 commit 87e6717

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

plugins/plugin-carbon-tables/web/css/static/pagination.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ body[kui-theme-style] .bx--pagination {
44
font-size: 0.875em;
55
line-height: 1.125em;
66

7+
span.bx--pagination__text {
8+
margin-left: 1em;
9+
}
10+
.bx--pagination__left .bx--pagination__text {
11+
margin-right: 0.0625em;
12+
}
13+
714
.bx--select__item-count .bx--select-input,
815
span.bx--pagination__text,
916
.bx--select--inline .bx--select-input {
@@ -37,3 +44,24 @@ body[kui-theme-style] .bx--pagination {
3744
background-color: var(--color-ui-03);
3845
}
3946
}
47+
48+
body[kui-theme-style] .sidecar-visible {
49+
.bx--pagination__left {
50+
.bx--form-item,
51+
label.bx--pagination__text {
52+
/* left: hide the items per page if the sidecar is open */
53+
display: none;
54+
}
55+
56+
span.bx--pagination__text {
57+
margin: 0;
58+
}
59+
}
60+
.bx--pagination__right {
61+
.bx--form-item,
62+
.bx--pagination__text {
63+
/* hide the "1 of N pages" text if the sidecar is open */
64+
display: none;
65+
}
66+
}
67+
}

0 commit comments

Comments
 (0)