Skip to content

Commit 9ba0f4a

Browse files
fix(Clusters): fix scroll (#2394)
1 parent cc3d8e3 commit 9ba0f4a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/containers/Clusters/Clusters.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
overflow: auto;
55
gap: var(--g-spacing-4);
66

7-
padding: var(--g-spacing-4) var(--g-spacing-5) 0;
7+
padding: var(--g-spacing-4) 0 0 var(--g-spacing-5);
88

99
@include mixins.body-2-typography();
1010
@include mixins.flex-container();
1111

12+
&__title-wrapper,
13+
&__controls-wrapper {
14+
padding-right: var(--g-spacing-5);
15+
}
16+
1217
&__autorefresh {
1318
margin-left: auto;
1419
}

src/containers/Clusters/Clusters.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function Clusters() {
128128

129129
const renderPageTitle = () => {
130130
return (
131-
<Flex justifyContent="space-between">
131+
<Flex justifyContent="space-between" className={b('title-wrapper')}>
132132
<Flex gap={2}>
133133
<Text variant="header-1">{i18n('page_title')}</Text>
134134
<Text variant="header-1" color="secondary">
@@ -148,7 +148,7 @@ export function Clusters() {
148148

149149
{renderPageTitle()}
150150

151-
<Flex>
151+
<Flex className={b('controls-wrapper')}>
152152
<div className={b('control', {wide: true})}>
153153
<Search
154154
placeholder={i18n('controls_search-placeholder')}

0 commit comments

Comments
 (0)