From 334f9047a860ef1b3a138e112658bfe07fec5d79 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 8 Aug 2018 12:02:56 +0300 Subject: [PATCH] fix: download button downloads index.html instead of spec with CLI fixes #594 --- src/components/ApiInfo/ApiInfo.tsx | 2 +- src/components/ApiInfo/styled.elements.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ApiInfo/ApiInfo.tsx b/src/components/ApiInfo/ApiInfo.tsx index e3df998b..26aaa8c3 100644 --- a/src/components/ApiInfo/ApiInfo.tsx +++ b/src/components/ApiInfo/ApiInfo.tsx @@ -81,7 +81,7 @@ export class ApiInfo extends React.Component { Download diff --git a/src/components/ApiInfo/styled.elements.ts b/src/components/ApiInfo/styled.elements.ts index 445eb4b3..c9bc0598 100644 --- a/src/components/ApiInfo/styled.elements.ts +++ b/src/components/ApiInfo/styled.elements.ts @@ -20,6 +20,7 @@ export const DownloadButton = styled.a` padding: 4px 8px 4px; display: inline-block; text-decoration: none; + cursor: pointer; ${extensionsHook('DownloadButton')}; `;