how to change the width of the custom column.
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 867
- PR 合并指标
- 30 天内没有已合并 PR
描述
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;
}
````
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。