Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
fix: set to disable the hover action to dat-list-header.
Browse files Browse the repository at this point in the history
  • Loading branch information
AtuyL committed Dec 5, 2018
1 parent a48bc4a commit 96f34c5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/components/table-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import TitleField from './title-field'

export const Tr = styled.tr`
transition: background-color 0.025s ease-out;
&:hover,
&:focus {
background-color: var(--color-neutral-04);
cursor: pointer;
&.selectable {
&:hover,
&:focus {
background-color: var(--color-neutral-04);
cursor: pointer;
}
}
.cell-1 {
width: 4rem;
Expand Down Expand Up @@ -149,7 +151,7 @@ const Row = ({
const { title } = metadata
const placeholderTitle = `#${key}`
return (
<Tr onClick={() => inspectDat(dat.key)}>
<Tr onClick={() => inspectDat(dat.key)} className='selectable'>
<td className='cell-1'>
<div
className='w2 center'
Expand Down

0 comments on commit 96f34c5

Please sign in to comment.