how to change the width of the custom column.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.6k
- Forks
- 867
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I want to change the width of the custom column i created. i want to decrease the size of the column header and column width. How can i achieve this. please guide me.
ts
````
settings = {
// actions: false,
actions: {
position: 'right',
columnTitle: 'Actions',
custom: [
{
name: 'edit',
title: '',
},
{
name: 'view',
title: '',
},
],
add: false,
edit: false,
delete: false,
},
};
````
scss
````
:host /deep/ ng2-st-tbody-edit-delete {
display: flex !important;
height: 0 !important;
}
:host /deep/ ng2-st-tbody-custom a.ng2-smart-action.ng2-smart-action-custom-custom {
display: inline-block;
width: 60px;
text-align: right;
font-size: 0.5em;
}
:host /deep/ ng2-st-tbody-custom a.ng2-smart-action.ng2-smart-action-custom-custom:hover {
color: #3f4fda;
}
:host /deep/ ng2-st-thead-custom a.ng2-smart-action.ng2-smart-action-custom-custom {
width: 10px;
}
````
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.