angular-ui/ui-grid

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

Open

#6824 aperta il 4 ago 2018

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wanted

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor