Skip to content

Commit b182d25

Browse files
authored
Merge pull request #17 from saucelabs/designteam-suggestions-kim
Implementing CSS recommendations per Design Team https://saucedev.atlassian.net/browse/TCD-1698?focusedCommentId=315366
2 parents ddd833f + 20a2b8c commit b182d25

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/theme/ReferenceCodeBlock/index.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ const initialFetchResultState = {
1111
}
1212

1313
const noteStyle: React.CSSProperties = {
14-
textAlign: 'right',
1514
fontSize: '.9em',
1615
fontWeight: 600,
16+
color: '#0E75DD',
17+
textAlign: 'center',
18+
paddingBottom: '13px',
19+
textDecoration: 'underline',
1720
}
1821

1922
/**
@@ -123,7 +126,7 @@ function ReferenceCode(props: ReferenceCodeBlockProps) {
123126
return (
124127
<div>
125128
<CodeBlock {...customProps}>{fetchResultState.code}</CodeBlock>
126-
<div style={noteStyle}>See full example on <a href={props.children} target="_blank">GitHub</a></div>
129+
<div style={noteStyle}><a href={props.children} target="_blank">See full example on GitHub</a></div>
127130
</div>
128131
);
129132
}

0 commit comments

Comments
 (0)