Skip to content

Commit

Permalink
feat: Remove hover background effect on property list and overview de…
Browse files Browse the repository at this point in the history
…tails lists
  • Loading branch information
ashchan committed Sep 10, 2019
1 parent d4db2ac commit 91a1c6e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/neuron-ui/src/components/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const ActivityList = ({
onItemInvoked={item => {
showTransactionDetails(item.hash)
}}
className="listNoHover"
styles={{
root: {
backgroundColor: 'transparent',
Expand Down Expand Up @@ -326,6 +327,7 @@ const Overview = ({
items={activityItems}
onRenderRow={onTransactionRowRender}
onGoToHistory={onGoToHistory}
className="listNoHover"
t={t}
/>
) : (
Expand Down
8 changes: 8 additions & 0 deletions packages/neuron-ui/src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ navbar {
font-family: monospace;
}

.listNoHover {
.ms-DetailsRow {
&:hover {
background-color: inherit;
}
}
}

.listWithDesc {
.ms-DetailsRow-cell {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
padding: 5px 5px;
font-size: 14px;

&:hover {
background-color: rgb(237, 235, 233);
}

.label,
.value {
display: block;
Expand Down

0 comments on commit 91a1c6e

Please sign in to comment.