angular-ui/ui-grid

Grid Column Resizer leaves margin at the right end of last header column

Open

#6,824 建立於 2018年8月4日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
help wanted

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Enabling ui-grid-resize-columns leaves a margin at the right side of last header column on v4.6.2, which wasnt the issue in v4.0.0

Margin gets hidden below the ui-grid-menu-button, but in my case height of the header gets changed due to additional filters

imageedit_1_5538927245

for now i have overwritten the class present in ui-grid.css file to minimise the margin width

.ui-grid-header-cell-last-col + .ui-grid-column-resizer.right {
    margin-right: 0px !important;
 }

imageedit_3_3171336784

is there any reason for increasing margin right value at the last header column ,if so is there any other way to fix this like setting up ui-grid-menu-button height dynamically according to the the ui-grid-header height

貢獻者指南