Fixed styling for copy / run code buttons in code snippet
This commit is contained in:
committed by
fabioberger
parent
a9f046609c
commit
40234e5b4a
@@ -93,14 +93,15 @@ const CodeTag = styled.code`
|
||||
}
|
||||
`;
|
||||
|
||||
const CopyButton = styled(Button)`
|
||||
const CopyButton = styled(Button).attrs({
|
||||
isTransparent: true,
|
||||
})`
|
||||
float: right;
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
margin-bottom: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
background: white;
|
||||
border: 1px solid ${colors.beigeWhite};
|
||||
border-radius: ${BORDER_RADIUS};
|
||||
color: ${colors.brandDark};
|
||||
|
||||
@@ -44,7 +44,9 @@ const RunButton = styled(ActionButton)`
|
||||
margin-bottom: 4px;
|
||||
`;
|
||||
|
||||
const ResetButton = styled(ActionButton)`
|
||||
const ResetButton = styled(ActionButton).attrs({
|
||||
isTransparent: true,
|
||||
})`
|
||||
background-color: white;
|
||||
color: ${colors.brandDark};
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user