Skip to content

Commit

Permalink
fix(styling): remove fixed header height
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed May 19, 2020
1 parent 79c265e commit 9cef192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/modules/angular-slickgrid/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ $preheader-border-left: none !default;
$preheader-border-left-first-element: none !default;
$preheader-border-right: none !default;
$preheader-border-right-last-element: none !default;
$preheader-border-bottom: 0 !default;
$preheader-border-top: 0 !default;
$preheader-border-bottom: none !default;
$preheader-border-top: none !default;
$preheader-font-size: $font-size-base + 3px !default;
$preheader-height: 25px !default; /* full height is calculated with cell padding + borders (25px + 5px + 0px + 0px) = 30px must be set as preHeaderPanelHeight */
$preheader-grouped-title-display: inline-grid !default;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
background: none;
background-color: $header-background-color;
width: calc(100% - #{$header-scroll-width-to-remove});
height: calc(#{$preheader-height} + #{$cell-padding-top-bottom} - #{$preheader-border-top} - #{$preheader-border-bottom});
// height: calc(#{$preheader-height} + #{$cell-padding-top-bottom} - #{$preheader-border-top} - #{$preheader-border-bottom});

.slick-header-sortable {
.slick-column-name {
Expand Down

0 comments on commit 9cef192

Please sign in to comment.