rusackas commented on a change in pull request #11847:
URL:
https://github.com/apache/incubator-superset/pull/11847#discussion_r533932055
##########
File path: superset-frontend/src/explore/components/DisplayQueryButton.jsx
##########
@@ -75,6 +75,24 @@ const CopyButton = styled(Button)`
&& {
margin-left: ${({ theme }) => theme.gridUnit * 2}px;
}
+
+ i {
+ padding: 0;
+ }
+`;
+
+const CopyButtonViewQuery = styled(Button)`
+ padding: ${({ theme }) => theme.gridUnit / 2}px
+ ${({ theme }) => theme.gridUnit * 2.5}px;
+ font-size: ${({ theme }) => theme.typography.sizes.s}px;
+
+ && {
+ margin-bottom: 5px;
Review comment:
```suggestion
margin-bottom: ${({ theme }) => theme.gridUnit}px;
```
I'm guessing can probably spare the extra pixel here just to snap things to
the gridUnit ;)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]