Skip to content

Commit

Permalink
fix: adjust padding for selection grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed Sep 13, 2023
1 parent b98ed0b commit b786949
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
echo $RV
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ env.RELEASE_VERSION }}
release_name: ${{ env.RELEASE_VERSION }}
name: ${{ env.RELEASE_VERSION }}
body: ${{ github.event.head_commit.message }}
draft: false
prerelease: true
prerelease: false
generateReleaseNotes: true
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@ jobs:
echo $RV
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ env.RELEASE_VERSION }}
release_name: ${{ env.RELEASE_VERSION }}
name: ${{ env.RELEASE_VERSION }}
body: ${{ github.event.head_commit.message }}
draft: false
prerelease: false
generate_release_notes: true
generateReleaseNotes: true
10 changes: 1 addition & 9 deletions src/components/MTableBodyRow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,7 @@ function MTableBodyRow({ forwardedRef, ...props }) {
props.treeDataMaxLevel
) || 0;

const styles =
size === 'medium'
? {
marginLeft: props.level * 9 || 0
}
: {
padding: '4px',
marginLeft: 5 + props.level * 9 || 0
};
const styles = size !== 'medium' ? { padding: '4px' } : undefined;

return (
<TableCell
Expand Down

0 comments on commit b786949

Please sign in to comment.