Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit d953adf

Browse files
committed
updated print style sheet
1 parent 86b7c23 commit d953adf

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

scriptedforms/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@simonbiggs/scriptedforms",
3-
"version": "0.10.0-dev2",
3+
"version": "0.10.0-dev3",
44
"license": "AGPL-3.0+",
55
"repository": {
66
"type": "git",

scriptedforms/src/app/style.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ program. If not, see <http://www.apache.org/licenses/LICENSE-2.0>. */
4040
float: right;
4141
}
4242

43+
img {
44+
display: block;
45+
margin-left: auto;
46+
margin-right: auto;
47+
}
48+
4349
.hidden-iframe {
4450
width: 0;
4551
height: 0;
@@ -65,9 +71,19 @@ program. If not, see <http://www.apache.org/licenses/LICENSE-2.0>. */
6571
max-width: 21cm !important;
6672
}
6773

68-
.form-contents {
74+
/* .form-contents {
6975
width: 20cm !important;
7076
padding: 0 5mm !important;
77+
} */
78+
79+
.scripted-form-widget {
80+
width: 20cm !important;
81+
/* padding: 0 5mm !important; */
82+
}
83+
84+
.form-container {
85+
width: 20cm !important;
86+
height: 100% !important;
7187
}
7288

7389
.margin {
@@ -94,6 +110,10 @@ program. If not, see <http://www.apache.org/licenses/LICENSE-2.0>. */
94110
page-break-inside: avoid;
95111
}
96112

113+
img {
114+
max-width: 450px !important;
115+
}
116+
97117
@page {
98118
margin: 2cm;
99119
}

0 commit comments

Comments
 (0)