Skip to content

Commit

Permalink
more forprint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed May 26, 2020
1 parent 01cb911 commit 0d5f78c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages-premium
30 changes: 27 additions & 3 deletions packages/common/src/styles/scrollgrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,41 @@
&, table { // all tables (self included)
width: 100%; // because tables don't normally do this
table-layout: fixed;
border-collapse: collapse !important; // need important?
}

& tr > * { // all cells (self included)
padding: 0;
}

& table { // inner tables
border-style: hidden !important;
border-collapse: collapse !important; // need important?
border-top-style: hidden !important;
border-left-style: hidden !important;
border-right-style: hidden !important;
}

& > tbody table,
& > tfoot table {
border-bottom-style: hidden !important; // head keeps its bottom border tho
}

border-collapse: separate;
border-right-width: 0 !important;
border-bottom-width: 0 !important;

& > * > tr > * {
border-top-width: 0;
border-left-width: 0;
}

& > thead > tr > *,
& > tfoot > tr > * {
border-bottom-width: 0;
}
}



.fc-scrollgrid-liquid {
height: 100%;
}
Expand Down Expand Up @@ -58,7 +81,8 @@
}

.fc-scrollgrid > thead > .fc-scrollgrid-section-sticky > * {
top: -1px; // because border-sharing causes a gap at the top
top: 0; // because border-sharing causes a gap at the top
// TODO: give safari -1. has bug
}

.fc-scrollgrid > tfoot > .fc-scrollgrid-section-sticky > * {
Expand Down

0 comments on commit 0d5f78c

Please sign in to comment.