Skip to content

Commit

Permalink
feat: Limit html table size to 23cm
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusth committed Jul 22, 2022
1 parent 628c7c0 commit 2a73fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn serialize_json(activities: &std::vec::Vec<Activity>) -> Result<String, serde_
pub fn generate_html(activity: &Activity) -> String {
let mut html_output = String::from(
r#"
<table border="1">
<table border="1" style="max-width: 23cm;">
<tr>
<th>titulo</th>
<th>descrição</th>
Expand Down

0 comments on commit 2a73fa8

Please sign in to comment.