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: [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]