Skip to content

Commit

Permalink
fix(SaveDatasetModal): repairs field alignment in the SaveDatasetModa…
Browse files Browse the repository at this point in the history
…l component (apache#32222)

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
  • Loading branch information
EnxDev and geido authored Feb 11, 2025
1 parent db70c79 commit 650fa5c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,32 +96,36 @@ interface SaveDatasetModalProps {
}

const Styles = styled.div`
${({ theme }) => `
.sdm-body {
margin: 0 8px;
margin: 0 ${theme.gridUnit * 2}px;
}
.sdm-input {
margin-left: 45px;
margin-left: ${theme.gridUnit * 10}px;
width: 401px;
}
.sdm-autocomplete {
width: 401px;
align-self: center;
margin-left: ${theme.gridUnit}px;
}
.sdm-radio {
display: block;
height: 30px;
margin: 10px 0px;
line-height: 30px;
}
.sdm-radio span {
display: inline-flex;
padding-right: 0px;
}
.sdm-overwrite-msg {
margin: 7px;
margin: ${theme.gridUnit * 2}px;
}
.sdm-overwrite-container {
flex: 1 1 auto;
display: flex;
}
`}
`;

const updateDataset = async (
dbId: number,
datasetId: number,
Expand Down

0 comments on commit 650fa5c

Please sign in to comment.