Skip to content

Commit

Permalink
Fix Table Headers in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed May 26, 2022
1 parent 90abe0d commit 5cef1e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/scss/base/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ body.has_nav {
padding-top: 7.5rem;

> nav {
position: fixed;
position: absolute;
left: 0;
right: 0;
top: 0;
Expand Down
8 changes: 4 additions & 4 deletions assets/scss/pages/overview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
border-collapse: collapse;
min-width: 100%;
overflow: hidden;
position: relative;
box-sizing: border-box;

tr {
Expand Down Expand Up @@ -75,8 +74,6 @@
th {
text-align: left;
font-weight: normal;

position: sticky;
top: 0;
left: 0;

Expand All @@ -100,10 +97,13 @@
&:first-child th {
text-align: left;
min-width: 2em;
vertical-align: bottom;
> * {
writing-mode: vertical-rl;
transform: rotate(-180deg);
// transform: rotate(-180deg);
min-width: 2em;
white-space: nowrap;
text-align: left;
}
}
}
Expand Down

0 comments on commit 5cef1e8

Please sign in to comment.