Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Following are the ENVs related to chrome and SMTP. * means required -
<tr>
<td><code>ZO_CHROME_WINDOW_WIDTH</code></td>
<td>Browser window width</td>
<td>1370</td>
<td>1024</td>
</tr>
<tr>
<td><code>ZO_CHROME_WINDOW_HEIGHT</code></td>
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub struct Chrome {
pub chrome_with_head: bool,
#[env_config(name = "ZO_CHROME_SLEEP_SECS", default = 20)]
pub chrome_sleep_secs: u16,
#[env_config(name = "ZO_CHROME_WINDOW_WIDTH", default = 1370)]
#[env_config(name = "ZO_CHROME_WINDOW_WIDTH", default = 1024)]
pub chrome_window_width: u32,
#[env_config(name = "ZO_CHROME_WINDOW_HEIGHT", default = 730)]
pub chrome_window_height: u32,
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ pub struct ReportAttachmentDimensions {
impl Default for ReportAttachmentDimensions {
fn default() -> Self {
Self {
height: CONFIG.chrome.chrome_window_width,
width: CONFIG.chrome.chrome_window_height,
height: CONFIG.chrome.chrome_window_height,
width: CONFIG.chrome.chrome_window_width,
}
}
}
Expand Down