rusackas commented on a change in pull request #11678:
URL:
https://github.com/apache/incubator-superset/pull/11678#discussion_r529260756
##########
File path: superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx
##########
@@ -57,19 +64,45 @@ interface SavedQueriesProps {
mine: Array<Query>;
}
+export const CardStyles = styled.div`
+ cursor: pointer;
+ a {
+ text-decoration: none;
+ }
+ .ant-card-cover {
+ border-bottom: 1px solid ${({ theme }) => theme.colors.grayscale.light2};
+ }
+`;
+
const QueryData = styled.div`
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- border-bottom: 1px solid ${({ theme }) => theme.colors.grayscale.light2};
- .title {
- font-weight: ${({ theme }) => theme.typography.weights.normal};
- color: ${({ theme }) => theme.colors.grayscale.light1};
+ svg {
+ margin-left: ${({ theme }) => theme.gridUnit * 10}px;
}
- .holder {
- margin: ${({ theme }) => theme.gridUnit * 2}px;
+ .query-title {
+ padding: ${({ theme }) => theme.gridUnit * 2 + 2}px;
+ font-size: ${({ theme }) => theme.typography.sizes.l}px;
}
`;
+
+const ShowEmptyState = styled.div`
+ background-image: url('/static/assets/images/emptyquery.svg');
+ width: 100%;
+ height: 171px;
+ background-repeat: no-repeat;
+ background-size: 539px;
+`;
+
+const QueryContainer = styled.div`
+ pre {
+ height: ${({ theme }) => theme.gridUnit * 40}px;
+ border: none !important;
Review comment:
Ping me when you have a chance, we can pair up and see if there's a
better selector to remove the need for `!important` here.
----------------------------------------------------------------
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]