8000 fix(CDataTable): correct itemsPerPageSelect padding by steffenwittig · Pull Request #171 · coreui/coreui-react · GitHub
[go: up one dir, main page]

Skip to content

fix(CDataTable): correct itemsPerPageSelect padding #171

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

Merged
merged 1 commit into from
Dec 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
fix(CDataTable): correct itemsPerPageSelect padding
  • Loading branch information
sartwittig committed Dec 22, 2020
commit 398f0f0372b316df782868cdc98d5e344caa242a
2 changes: 1 addition & 1 deletion src/table/CDataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ const CDataTable = props => {
}
{
itemsPerPageSelect &&
<div className={'col-sm-6 p-0' + (!(tableFilter || cleaner) && ' offset-sm-6')}>
<div className={'col-sm-6 p-0 ' + (!(tableFilter || cleaner) && ' offset-sm-6')}>
<div className="form-inline justify-content-sm-end">
<label className="mr-2">{paginationSelect.label}</label>
<select
Expand Down
2 changes: 1 addition & 1 deletion src/table/tests/__snapshots__/CDataTable.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Array [
/>
</div>
<div
className="col-sm-6 p-0false"
className="col-sm-6 p-0 false"
>
<div
className="form-inline justify-content-sm-end"
Expand Down
0