Skip to content

Commit 01ff207

Browse files
committed
feat(neuron-ui): disable overflow hidden on activities
1 parent c25b597 commit 01ff207

2 files changed

Lines changed: 4 additions & 23 deletions

File tree

packages/neuron-ui/src/components/Overview/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,8 @@ const ActivityList = ({
8080
onItemInvoked={item => {
8181
showTransactionDetails(item.hash)
8282
}}
83-
className="customScrollBar"
8483
styles={{
8584
root: {
86-
overflowX: 'hidden',
87-
overflowY: 'auto',
88-
height: '100%',
8985
backgroundColor: 'transparent',
9086
},
9187
contentWrapper: {
@@ -315,7 +311,7 @@ const Overview = ({
315311
)
316312

317313
return (
318-
<Stack tokens={{ childrenGap: 15 }} verticalFill horizontalAlign="stretch">
314+
<Stack tokens={{ childrenGap: 15 }} horizontalAlign="stretch">
319315
<Text as="h1" variant={TITLE_FONT_SIZE}>
320316
{name}
321317
</Text>

packages/neuron-ui/src/styles/index.scss

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ navbar {
4444

4545
.form-control,
4646
.btn {
47-
4847
&:focus {
4948
box-shadow: none !important;
5049
}
@@ -62,30 +61,16 @@ navbar {
6261

6362
.text-overflow {
6463
overflow: hidden;
65-
text-overflow: ellipsis
66-
}
67-
}
68-
69-
70-
.customScrollBar {
71-
&::-webkit-scrollbar {
72-
border-radius: 5px;
73-
background-color: #e0e0e0;
74-
width: 10px
75-
}
76-
77-
&::-webkit-scrollbar-thumb {
78-
border-radius: 5px;
79-
background-color: #bdbdbd;
64+
text-overflow: ellipsis;
8065
}
8166
}
8267

8368
@keyframes rotate360 {
8469
from {
85-
transform: rotate(0)
70+
transform: rotate(0);
8671
}
8772

8873
to {
89-
transform: rotate(360deg)
74+
transform: rotate(360deg);
9075
}
9176
}

0 commit comments

Comments
 (0)