aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-22 15:05:07 +0800
committerAugust Skare <post@augustskare.no>2018-10-22 15:05:07 +0800
commit15a3c234c552c3e32e76411acaefa49f312c0aed (patch)
treeac9291bcffde2176c3611f4f1f30c2088b58c142 /packages
parentbf7443c985f2b26458586ece6661dd3e13215b79 (diff)
downloaddexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.tar
dexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.tar.gz
dexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.tar.bz2
dexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.tar.lz
dexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.tar.xz
dexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.tar.zst
dexon-sol-tools-15a3c234c552c3e32e76411acaefa49f312c0aed.zip
dont shrink icons in trace component
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-tools-pages/ts/components/Trace.tsx12
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/dev-tools-pages/ts/components/Trace.tsx b/packages/dev-tools-pages/ts/components/Trace.tsx
index 0fbf27c5d..30fdb7066 100644
--- a/packages/dev-tools-pages/ts/components/Trace.tsx
+++ b/packages/dev-tools-pages/ts/components/Trace.tsx
@@ -39,7 +39,7 @@ function Trace(props: Props) {
completely in the dark about its exact location.
</p>
</Copy>
- <NoLocation />
+ <Icon as={NoLocation} />
</Item>
<Item>
@@ -50,7 +50,7 @@ function Trace(props: Props) {
the failing line of code quickly becomes a daunting task.
</p>
</Copy>
- <TimeConsuming />
+ <Icon as={TimeConsuming} />
</Item>
</List>
</Block>
@@ -72,7 +72,7 @@ function Trace(props: Props) {
from.
</p>
</Copy>
- <ExactLocation />
+ <Icon as={ExactLocation} />
</Item>
<Item>
@@ -83,7 +83,7 @@ function Trace(props: Props) {
on linen X of contract Y", it drastically improves the developer experience.
</p>
</Copy>
- <TimeSaving />
+ <Icon as={TimeSaving} />
</Item>
</List>
</Block>
@@ -189,4 +189,8 @@ const Copy = styled.div`
${media.small`margin-right: 2.0625rem;`};
`;
+const Icon = styled.div`
+ flex-shrink: 0;
+`;
+
export default withContext(Trace);