You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/07 16:01:39 UTC
[GitHub] [superset] geido commented on a diff in pull request #19562: refactor: Removes the CSS files from the Horizon plugin
geido commented on code in PR #19562:
URL: https://github.com/apache/superset/pull/19562#discussion_r845307532
##########
superset-frontend/plugins/legacy-plugin-chart-horizon/src/HorizonChart.jsx:
##########
@@ -58,6 +57,29 @@ const defaultProps = {
offsetX: 0,
};
+const StyledDiv = styled.div`
+ ${({ theme }) => `
+ .superset-legacy-chart-horizon {
+ overflow: auto;
+ position: relative;
+ }
+
+ .superset-legacy-chart-horizon .horizon-row {
+ border-bottom: solid 1px ${theme.colors.grayscale.light2};
+ border-top: 0;
+ padding: 0;
+ margin: 0;
+ }
+
+ .superset-legacy-chart-horizon .horizon-row span.title {
+ position: absolute;
+ color: ${theme.colors.grayscale.dark1};
+ font-size: 0.8em;
Review Comment:
Can we move to one of our theme font sizes?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org