Skip to content

Commit

Permalink
RESOLVED #56: Timeline chart - some elements are left over after remo…
Browse files Browse the repository at this point in the history
…ving all individuals
  • Loading branch information
jon48 committed Dec 10, 2022
1 parent b9d8170 commit 9186bfa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sass/rural/_pages-charts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@
left: 0;
position: relative;
top: 0;

/*
Hack for removing leftover elements after removing all individuals.
Other themes do not show this behaviour.
See https://github.com/jon48/webtrees-theme-rural/issues/56
*/
&:not([style]) {
display: none;
}
}

@each $nb, $colors in $maj-c-persons {
Expand Down

0 comments on commit 9186bfa

Please sign in to comment.