Skip to content

Commit a0c567a

Browse files
authored
Fix printing on all browsers on new theme (#354)
fix: Printing format on all browsers on new theme
1 parent 6a9bf2d commit a0c567a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

static/nginxaas-azure/css/cost-calculator_v2.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
}
2929

3030
#calculator .section {
31-
margin: 0 auto 24px auto;
32-
max-width: 900px;
31+
margin: 1rem auto 1rem auto;
3332
}
3433

3534
#calculator #totals-section {
@@ -81,7 +80,6 @@
8180

8281
#calculator .details-section {
8382
padding: 10px;
84-
background-color: rgba(217, 217, 217, 0.1);
8583
margin-right: 10px;
8684
flex: 1;
8785
}
@@ -204,8 +202,8 @@
204202

205203
@media print {
206204
body {
207-
visibility: hidden;
208-
height: 0;
205+
visibility: hidden !important;
206+
height: 0 !important;
209207
}
210208

211209
footer {
@@ -219,7 +217,12 @@
219217

220218
margin: 0 auto;
221219

222-
width: 100%;
220+
width: fit-content;
221+
left: 0;
222+
}
223+
224+
#calculator .section {
225+
margin: 0;
223226
}
224227

225228
#calculator h3#calculator-section-heading {

0 commit comments

Comments
 (0)