Skip to content

Commit

Permalink
Center slide buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheiss committed May 30, 2023
1 parent 51e40e7 commit 458797d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/slide-things.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
slide_buttons <- function(slide_id) {
glue::glue('<p class="buttons"><a class="btn btn-danger" target="_blank" href="{slide_id}.html"><i class="fa-solid fa-arrow-up-right-from-square"></i> View all slides in new window</a> <a class="btn btn-danger" target="_blank" href="{slide_id}.pdf" role="button"><i class="fa-solid fa-file-pdf"></i> Download PDF of all slides</a></p>')
glue::glue('<p class="text-center buttons"><a class="btn btn-danger" target="_blank" href="{slide_id}.html"><i class="fa-solid fa-arrow-up-right-from-square"></i> View all slides in new window</a> <a class="btn btn-danger" target="_blank" href="{slide_id}.pdf" role="button"><i class="fa-solid fa-file-pdf"></i> Download PDF of all slides</a></p>')
}

0 comments on commit 458797d

Please sign in to comment.