rusackas commented on a change in pull request #16200:
URL: https://github.com/apache/superset/pull/16200#discussion_r688046821
##########
File path: superset-frontend/src/addSlice/AddSliceContainer.tsx
##########
@@ -81,6 +87,34 @@ const StyledContainer = styled.div`
margin-top: ${theme.gridUnit * 6}px;
}
}
+
+ & .ant-tooltip-open {
+ display: inline;
+ }
+ `}
+`;
+
+const TooltipContent = styled.div<{ hasDescription: boolean }>`
+ ${({ theme, hasDescription }) => `
+ .tooltip-header {
+ font-size: ${
+ hasDescription ? theme.typography.sizes.l : theme.typography.sizes.s
+ }px;
+ font-weight: ${
+ hasDescription
+ ? theme.typography.weights.bold
+ : theme.typography.weights.normal
+ };
+ }
+
+ .tooltip-description {
+ margin-top: ${theme.gridUnit * 2}px;
+ display: -webkit-box;
+ -webkit-line-clamp: 20;
Review comment:
Ooh, you don't get to use that every day.
--
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]