mirror of
https://github.com/mfontanini/presenterm.git
synced 2025-05-05 15:32:58 +00:00
chore: allow compliation with rust version below 1.79.0
This commit is contained in:
parent
fe818344fe
commit
7b2ba0eb8c
@ -173,8 +173,8 @@ impl ExportRenderer {
|
||||
let height = self.dimensions.rows * LINE_HEIGHT;
|
||||
let background_color = self.background_color.unwrap_or_else(|| "black".into());
|
||||
let css_container_width = match self.output_format {
|
||||
OutputFormat::Pdf => &format!("{width}px"),
|
||||
OutputFormat::Html => "100vw",
|
||||
OutputFormat::Pdf => format!("{width}px"),
|
||||
OutputFormat::Html => "100vw".to_string(),
|
||||
};
|
||||
let css = format!(
|
||||
r"
|
||||
|
Loading…
x
Reference in New Issue
Block a user