aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Code.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-25 17:54:53 +0800
committerGitHub <noreply@github.com>2018-10-25 17:54:53 +0800
commite5d3e3b33a88e2b08ed02cb39910fab28e130594 (patch)
tree6ab79e457f3e010ed00ce653442d5ffdce1cf123 /packages/dev-tools-pages/ts/components/Code.tsx
parent1c8ea1336e9e0c018ceb38cba90943f1b50eb23a (diff)
downloaddexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.tar
dexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.tar.gz
dexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.tar.bz2
dexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.tar.lz
dexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.tar.xz
dexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.tar.zst
dexon-sol-tools-e5d3e3b33a88e2b08ed02cb39910fab28e130594.zip
Feature/tweaks (#8)
* show copy button on focs * change base link styling * text-decoration underline on basic links * basic hover and focus styles on button and tabs * add links in footer * change breakpoints vars * medium breakpoint on footer
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Code.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Code.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/dev-tools-pages/ts/components/Code.tsx b/packages/dev-tools-pages/ts/components/Code.tsx
index 02bd0382e..88cfba7f8 100644
--- a/packages/dev-tools-pages/ts/components/Code.tsx
+++ b/packages/dev-tools-pages/ts/components/Code.tsx
@@ -21,6 +21,9 @@ const Button = styled(BaseButton)`
top: 1rem;
right: 1rem;
transition: opacity 0.2s;
+ :focus {
+ opacity: 1;
+ }
`;
const Base =