geido commented on code in PR #23286:
URL: https://github.com/apache/superset/pull/23286#discussion_r1132555975
##########
superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx:
##########
@@ -55,64 +54,30 @@ export const Pill = styled.div`
background: ${theme.colors.primary.dark1};
}
}
-
- &.has-incompatible-filters {
- color: ${theme.colors.grayscale.dark2};
- background: ${theme.colors.alert.base};
- &:hover {
- background: ${theme.colors.alert.dark1};
- }
- svg {
- color: ${theme.colors.grayscale.dark2};
- }
- }
-
- &.filters-inactive {
- color: ${theme.colors.grayscale.light5};
- background: ${theme.colors.grayscale.light1};
- padding: ${theme.gridUnit}px;
- text-align: center;
- height: 22px;
- width: 22px;
-
- &:hover {
- background: ${theme.colors.grayscale.base};
- }
- }
`}
`;
-export interface TitleProps {
- bold?: boolean;
- color?: string;
-}
-
-export const Title = styled.span<TitleProps>`
- position: relative;
- margin-right: ${({ theme }) => theme.gridUnit}px;
- font-weight: ${({ bold, theme }) => {
- if (bold) return theme.typography.weights.bold;
- return 'auto';
- }};
- color: ${({ color, theme }) => color || theme.colors.grayscale.light5};
- display: flex;
- align-items: center;
- & > * {
- margin-right: ${({ theme }) => theme.gridUnit}px;
- }
+export const SectionName = styled.span`
+ ${({ theme }) => css`
+ font-weight: ${theme.typography.weights.bold};
+ // & > * {
+ // margin-right: ${theme.gridUnit}px;
+ // }
Review Comment:
```suggestion
```
--
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]