Skip to content

Commit 91a1c6e

Browse files
committed
feat: Remove hover background effect on property list and overview details lists
1 parent d4db2ac commit 91a1c6e

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const ActivityList = ({
127127
onItemInvoked={item => {
128128
showTransactionDetails(item.hash)
129129
}}
130+
className="listNoHover"
130131
styles={{
131132
root: {
132133
backgroundColor: 'transparent',
@@ -326,6 +327,7 @@ const Overview = ({
326327
items={activityItems}
327328
onRenderRow={onTransactionRowRender}
328329
onGoToHistory={onGoToHistory}
330+
className="listNoHover"
329331
t={t}
330332
/>
331333
) : (

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ navbar {
5353
font-family: monospace;
5454
}
5555

56+
.listNoHover {
57+
.ms-DetailsRow {
58+
&:hover {
59+
background-color: inherit;
60+
}
61+
}
62+
}
63+
5664
.listWithDesc {
5765
.ms-DetailsRow-cell {
5866
display: flex;

packages/neuron-ui/src/widgets/PropertyList/PropertyList.module.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
padding: 5px 5px;
44
font-size: 14px;
55

6-
&:hover {
7-
background-color: rgb(237, 235, 233);
8-
}
9-
106
.label,
117
.value {
128
display: block;

0 commit comments

Comments
 (0)