Skip to content

Commit

Permalink
Adjust page width for HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Sep 30, 2024
1 parent 28dca30 commit 3352a92
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ purl.Rout
ModernDive_files/
ModernDive_cache/

# Images that build each time
images/null_housing_shaded.png
images/patchwork_boxplot.png

# Other files
.httr-oauth
*rsconnect/
Expand All @@ -35,4 +39,3 @@ copy_pdf_to_google_drive.R
# the release branch
docs/*
bib/packages.bib

2 changes: 1 addition & 1 deletion index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ library(knitr)
# Set output options
if (is_html_output()) {
options(width = 110)
options(width = 120)
}
if (is_latex_output()) {
options(width = 75)
Expand Down
9 changes: 1 addition & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,4 @@ pre code {
white-space: inherit;
}

.book-cover img {
border: none;
padding: 0;
box-shadow: none;
background-color: transparent;
max-width: 100%; /* Ensures the cover image scales correctly */
height: auto;
}

0 comments on commit 3352a92

Please sign in to comment.