Skip to content

Commit

Permalink
Added export button
Browse files Browse the repository at this point in the history
  • Loading branch information
douweschulte committed Aug 24, 2023
1 parent a33e7c3 commit 768acb0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions src-tauri/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ r#"<!DOCTYPE html>
</head>
<body>
<button class="print" onclick="window.print()">Export 🖶</button>
<!--
<details>
<summary>Align</summary>
Expand Down
1 change: 0 additions & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ fn annotate_spectrum(
}
let mut model = match model {
"all" => Model::all(),
"really_all" => Model::really_all(),
"ethcd" => Model::ethcd(),
"etcid" => Model::etcid(),
"cidhcd" => Model::cid_hcd(),
Expand Down
2 changes: 1 addition & 1 deletion src/stitch-assets
Submodule stitch-assets updated 1 files
+4 −0 styles.css
7 changes: 6 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,19 @@ button:hover {
.input-settings input,
.input-settings textarea,
.input-settings button,
.input-settings select {
.input-settings select,
button {
background: var(--color-background);
color: var(--color-foreground);
border: 2px solid var(--color-halfway);
border-radius: 0;
font-size: 1.2em;
}

button.print {
margin: 1em;
}

.input-settings option {
background: var(--color-background);
}
Expand Down

0 comments on commit 768acb0

Please sign in to comment.