Skip to content

Commit

Permalink
fixed print button tooltip messing up print
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed May 4, 2020
1 parent 22e403e commit f0e1c90
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cookbook/templates/recipe_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@

<!-- prevent weired character stuff escaping the pdf box -->
<style>
/* fixes print layout being disturbed by print button tooltip */
@media print {
.tooltip {
display: none;
}
}

.textLayer > span {
color: transparent;
position: absolute;
Expand All @@ -21,6 +28,7 @@
transform-origin: 0% 0%;
}

/* css classes needed to render markdown blockquotes */
blockquote {
background: #f9f9f9;
border-left: 4px solid #ccc;
Expand Down

0 comments on commit f0e1c90

Please sign in to comment.