Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove crud.less from Datasource #19438

Merged
merged 4 commits into from
Apr 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused classname
  • Loading branch information
geido committed Mar 30, 2022
commit 04a94655881d7211b029c99f97566a51df0168b9
10 changes: 2 additions & 8 deletions superset-frontend/src/components/Datasource/Fieldset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ interface FieldsetProps {

type fieldKeyType = string | number;

const StyledForm = styled(Form)`
.control-label {
font-weight: ${({ theme }) => theme.typography.weights.bold};
}
`;

export default class Fieldset extends React.PureComponent<FieldsetProps> {
static defaultProps = {
compact: false,
Expand All @@ -65,10 +59,10 @@ export default class Fieldset extends React.PureComponent<FieldsetProps> {
compact: this.props.compact,
});
return (
<StyledForm className="CRUD" layout="vertical">
<Form className="CRUD" layout="vertical">
{title && <legend>{title}</legend>}
{recurseReactClone(this.props.children, Field, propExtender)}
</StyledForm>
</Form>
);
}
}