-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fixes #476 Printing a patient record #525
Changes from 6 commits
e64442f
f5abba9
5c0cafe
2f97385
165f527
e11c700
2450c45
f26e73e
bec9724
b6cd11e
dc88a4c
71bab17
e864603
1c5b5e7
7d0c472
8802e3e
ceb6a79
3b78622
7974f66
5b19656
50a6dac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.print-section { display: none; } | ||
|
||
@media print { | ||
|
||
body { | ||
background: white !important; | ||
color: black !important; | ||
font-size: 12pt; | ||
margin: 0 5%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Selector order is wrong in this block. |
||
&.ember-application { padding-left: 0; } | ||
} | ||
|
||
.print-section { display: block; text-align: center; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here: those declarations should each be on a new line. |
||
|
||
.panel-footer, .btn, .nav, .view-current-title { display: none; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Each selector should be on their own line. In fact I thought we had a test for that in the Stylelint. Wonder why it's not failing the build? cc @billybonks |
||
|
||
.patient-history-heading { border-bottom: 1px solid black; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should only be using a variable, not a color keyword. |
||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use
px
values here.