The checkbox is too big. How do I make it smaller
See original GitHub issueI only added in the setting, selectMode: ‘multi’,
How do I control the size of the checkbox?
please help me!
my settings:
settings = { selectMode: 'multi', add: { addButtonContent: '<i class="nb-plus"></i>', createButtonContent: '<i class="nb-checkmark"></i>', cancelButtonContent: '<i class="nb-close"></i>', }, edit: { editButtonContent: '<i class="nb-edit"></i>', saveButtonContent: '<i class="nb-checkmark"></i>', cancelButtonContent: '<i class="nb-close"></i>', }, delete: { deleteButtonContent: '<i class="nb-trash"></i>', confirmDelete: true, }, columns: { id: { title: 'ID', type: 'number', }, firstName: { title: 'First Name', type: 'string', }, lastName: { title: 'Last Name', type: 'string', }, username: { title: 'Username', type: 'string', }, email: { title: 'E-mail', type: 'string', }, age: { title: 'Age', type: 'number', }, }, };
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top GitHub Comments
add this to your SCSS
:host /deep/ .ng2-smart-action-multiple-select{ text-align: center; }
:host /deep/ .ng2-smart-action-multiple-select > input{ width:25px; height:25px; display: unset; }
I have added the above code that have been mentioned above by @hope4555 into the theme.scss file and it work well . 🎉