mikebridge commented on code in PR #42813:
URL: https://github.com/apache/superset/pull/42813#discussion_r3724051283
##########
superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx:
##########
@@ -97,30 +97,34 @@ export const VizTile = ({
white-space: nowrap;
overflow: hidden;
max-width: fit-content;
- ${!isActive &&
- css`
- flex-shrink: 0;
- width: ${theme.sizeUnit * 6}px;
- background-color: transparent;
- transition: none;
- &:hover svg path {
- fill: ${theme.colorPrimary};
- transition: fill ${theme.motionDurationMid} ease-out;
- }
- `}
+ ${
+ !isActive &&
+ css`
+ flex-shrink: 0;
+ width: ${theme.sizeUnit * 6}px;
+ background-color: transparent;
+ transition: none;
+ &:hover svg path {
+ fill: ${theme.colorPrimary};
+ transition: fill ${theme.motionDurationMid} ease-out;
+ }
+ `
+ }
- ${isActive &&
- css`
- width: 100%;
- background-color: ${theme.colorBgLayout};
- transition:
- width ${TILE_TRANSITION_TIME} ease-out,
- background-color ${TILE_TRANSITION_TIME} ease-out;
- cursor: default;
- svg path {
- fill: ${theme.colorPrimary};
- }
- `}
+ ${
+ isActive &&
+ css`
+ width: 100%;
+ background-color: ${theme.colorBgLayout};
+ transition:
+ width ${TILE_TRANSITION_TIME} ease-out,
+ background-color ${TILE_TRANSITION_TIME} ease-out;
Review Comment:
this is purely to satisfy oxfmt, not a code change
--
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]