aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Code.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-30 16:07:25 +0800
committerAugust Skare <post@augustskare.no>2018-10-30 16:07:25 +0800
commiteb9d80214693f7fb7c95ab6da546b6d89d33bee6 (patch)
treed949930c5d1a622833446323504ad53ca0ec4ed3 /packages/dev-tools-pages/ts/components/Code.tsx
parent6b11ca6c1dc2a81abb17e85204f708f1ad68dec9 (diff)
downloaddexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.gz
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.tar.zst
dexon-sol-tools-eb9d80214693f7fb7c95ab6da546b6d89d33bee6.zip
rename pesudo element in code gutter
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Code.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Code.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/Code.tsx b/packages/dev-tools-pages/ts/components/Code.tsx
index 6675422ef..f83d16dfa 100644
--- a/packages/dev-tools-pages/ts/components/Code.tsx
+++ b/packages/dev-tools-pages/ts/components/Code.tsx
@@ -90,7 +90,7 @@ const StyledCodeDiff = styled(({ gutterLength, children, ...props }: any) => <co
padding-left: calc(2.25rem + ${props => props.gutterLength}ch);
::before {
- content: attr(data-test);
+ content: attr(data-gutter);
width: ${props => props.gutterLength};
padding-left: 0.375rem;