Skip to content

Commit

Permalink
temp: comment out more code
Browse files Browse the repository at this point in the history
  • Loading branch information
suddjian committed Oct 16, 2020
1 parent 309b880 commit 64c88b2
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions superset-frontend/src/dashboard/components/DashboardBuilder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,20 @@ const StyledDashboardContent = styled.div`
transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
border: 2px solid transparent;
}
&.focused-filter-field {
.dashboard-component-chart-holder {
opacity: 0.3;
pointer-events: none;
&.scoped-to-focused-filter,
&.contains-focused-filter {
border-color: ${({ theme }) => theme.colors.primary.light2};
opacity: 1;
box-shadow: 0px 0px 8px ${({ theme }) => theme.colors.primary.light2};
pointer-events: auto;
}
}
}
// &.focused-filter-field {
// .dashboard-component-chart-holder {
// opacity: 0.3;
// pointer-events: none;
// &.scoped-to-focused-filter,
// &.contains-focused-filter {
// border-color: ${({ theme }) => theme.colors.primary.light2};
// opacity: 1;
// box-shadow: 0px 0px 8px ${({ theme }) =>
theme.colors.primary.light2};
// pointer-events: auto;
// }
// }
// }
`;

class DashboardBuilder extends React.Component {
Expand Down

0 comments on commit 64c88b2

Please sign in to comment.