Skip to content

Commit

Permalink
Merge pull request #3688 from webkom/fix-pdf-css
Browse files Browse the repository at this point in the history
fix spacing under title
  • Loading branch information
tindevw authored Nov 13, 2024
2 parents 995e288 + 2ad7bdd commit 6dbdcfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding-top: 150px; /* Increased padding to avoid overlap with fixed header */
padding-top: 70px; /* Increased padding to avoid overlap with fixed header */
}
h1 {
text-align: center;
Expand All @@ -25,7 +25,7 @@
justify-content: space-between;
align-items: flex-end; /* Align items at the start for multi-line support */
position: fixed;
top: 0;
top: -100px;
padding: 10px 0;
border-bottom: 1px solid #ddd;
background-color: white;
Expand Down Expand Up @@ -73,7 +73,7 @@

/* Container for Each Question with Extra Padding */
.question-container {
padding-top: 90px; /* Extra padding for each question page */
padding-top: 20px; /* Extra padding for each question page */
}

/* Subsequent Questions Layout */
Expand Down
1 change: 0 additions & 1 deletion lego/apps/surveys/utils/report_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def describe_results_with_charts(survey):
ax.tick_params(axis="x", labelsize=12)
ax.tick_params(axis="y", labelsize=16)

ax.set_xticks(range(len(labels)))
ax.set_xticklabels(labels, fontweight="bold", fontsize=12)

ax.yaxis.set_major_locator(MultipleLocator(1))
Expand Down

0 comments on commit 6dbdcfd

Please sign in to comment.