Skip to content

Commit

Permalink
fix: expand clickable areas
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Aug 24, 2021
1 parent b727043 commit 5a55a6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/swr-devtools/src/components/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const CacheItems = styled.ul`
`;

const CacheItem = styled.li<{ isSelected: boolean }>`
padding: 0.3rem 0;
padding: 0;
border-bottom: solid 1px var(--swr-devtools-border-color);
background-color: ${(props) =>
props.isSelected ? "var(--swr-devtools-selected-bg-color)" : "none"};
Expand All @@ -87,6 +87,7 @@ const CacheItemButton = styled.button`
display: inline-block;
width: 100%;
height: 100%;
padding: 0.5rem 0;
border: none;
background: transparent;
color: var(--swr-devtools-text-color);
Expand Down

0 comments on commit 5a55a6a

Please sign in to comment.