Skip to content

Commit 6cccb32

Browse files
authored
fix: add space in buckets for more-buckets ad when limit is hit (#5862)
1 parent cdced2f commit 6cccb32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/buckets/components/BucketsTab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ class BucketsTab extends PureComponent<Props, State> {
109109
public render() {
110110
const {buckets, limitStatus} = this.props
111111
const {searchTerm, sortKey, sortDirection, sortType} = this.state
112-
113112
const leftHeaderItems = (
114113
<>
115114
<SearchWidget
@@ -145,7 +144,8 @@ class BucketsTab extends PureComponent<Props, State> {
145144
const adjustedHeight =
146145
height -
147146
heightWithPagination -
148-
(isFlagEnabled('multiOrg') ? GLOBAL_HEADER_HEIGHT : 0)
147+
(isFlagEnabled('multiOrg') ? GLOBAL_HEADER_HEIGHT : 60) -
148+
(limitStatus === 'exceeded' ? 100 : 0)
149149

150150
return (
151151
<>

0 commit comments

Comments
 (0)