Skip to content

Commit 0c47b2f

Browse files
author
Jacob Logan
committed
remove space in promise display
1 parent 1c8a870 commit 0c47b2f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/ApiDocs/display/Promise.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const Promise = ({ typeObject }) => {
88
}, []);
99
return (
1010
<>
11-
<View>Promise&lt;{promiseTypes}&gt;</View>
11+
<View className="api-promise">Promise&lt;{promiseTypes}&gt;</View>
1212
</>
1313
);
1414
};

src/styles/reference.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@
100100
margin-inline-start: var(--amplify-space-medium);
101101
}
102102

103+
.api-promise {
104+
.type-link {
105+
margin: 0;
106+
}
107+
}
108+
103109
.type-link {
104110
cursor: pointer;
105111
margin: 4px;

0 commit comments

Comments
 (0)