Skip to content

Commit

Permalink
fix(styling): Column Header should always be on top of grid container (
Browse files Browse the repository at this point in the history
…#1578)

* fix(styling): Column Header should always be on top of grid container
- the use of `overflow: hidden` on the grid container made the Column Header to show as always in the limit of the grid container but in some cases our grid is smaller than the column header and that was a problem
  • Loading branch information
ghiscoding authored Jun 18, 2024
1 parent e5f00c1 commit 2f97dbb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/common/src/core/slickGrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,6 @@ export class SlickGrid<TData = any, C extends Column<TData> = Column<TData>, O e
};

emptyElement(this._container);
this._container.style.overflow = 'hidden';
this._container.style.outline = String(0);
this._container.classList.add(this.uid);
this._container.classList.add('slick-widget');
Expand Down
1 change: 0 additions & 1 deletion packages/common/src/styles/slick-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
}

.slickgrid-container {
overflow: hidden;
outline: 0;
position: relative;
box-sizing: content-box;
Expand Down

0 comments on commit 2f97dbb

Please sign in to comment.