kgabryje commented on code in PR #19866:
URL: https://github.com/apache/superset/pull/19866#discussion_r860100389
##########
superset-frontend/src/components/AlteredSliceTag/index.jsx:
##########
@@ -32,6 +32,16 @@ const propTypes = {
currentFormData: PropTypes.object.isRequired,
};
+const StyledLabel = styled.span`
+ ${({ theme }) => `
+ font-size: ${theme.typography.sizes.s}px;
+ background-color: ${theme.colors.alert.base};
+
+ &: hover {
+ background-color: ${theme.colors.alert.dark1};
+ };`}
Review Comment:
Is it really working with a side between &: and hover?
##########
superset-frontend/src/components/AlteredSliceTag/index.jsx:
##########
@@ -32,6 +32,16 @@ const propTypes = {
currentFormData: PropTypes.object.isRequired,
};
+const StyledLabel = styled.span`
+ ${({ theme }) => `
+ font-size: ${theme.typography.sizes.s}px;
+ background-color: ${theme.colors.alert.base};
+
+ &: hover {
+ background-color: ${theme.colors.alert.dark1};
+ };`}
Review Comment:
Is it really working with a space between &: and hover?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]