aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/PasteInfo.js
diff options
context:
space:
mode:
authorRyan Mehri <[email protected]>2020-07-18 22:20:19 -0600
committerGitHub <[email protected]>2020-07-18 22:20:19 -0600
commit31ed54cd210df9784801bbf4c867c4d84b31abc5 (patch)
tree762f5372454cd1af0a5c3123906d35259542fd96 /frontend/src/components/PasteInfo.js
parentMerge pull request #50 from jackyzha0/cache-invalidation (diff)
parentrefactor viewpaste and fixed button height (diff)
downloadctrl-v-31ed54cd210df9784801bbf4c867c4d84b31abc5.tar.xz
ctrl-v-31ed54cd210df9784801bbf4c867c4d84b31abc5.zip
Merge pull request #52 from jackyzha0/refactor-react
Refactor to use functional components instead of class components
Diffstat (limited to 'frontend/src/components/PasteInfo.js')
-rw-r--r--frontend/src/components/PasteInfo.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/PasteInfo.js b/frontend/src/components/PasteInfo.js
index 8669b20..bab7e23 100644
--- a/frontend/src/components/PasteInfo.js
+++ b/frontend/src/components/PasteInfo.js
@@ -16,7 +16,8 @@ const StyledDiv = styled.div`
const Button = styled.button`
margin-right: 0 !important;
margin-left: 2em !important;
- height: calc(16px + 1.6em + 2px);
+ height: calc(16px + 1.6em);
+ margin-top: 1.6em !important;
`
const SpacedText = styled.span`