Round preview ORCID badges
This commit is contained in:
1 parent
3b270d749d
commit
5d6d51536f
1 file changed
+1
-1
@@ -265,7 +265,7 @@ fn write_table_rule(
|
||||
fn write_badge(output: &mut String, x: i64, y: i64) {
|
||||
let _ = write!(
|
||||
output,
|
||||
"<rect x=\"{:.4}\" y=\"{:.4}\" width=\"4.0000\" height=\"4.0000\" fill=\"#A6CE39\" /><text x=\"{:.4}\" y=\"{:.4}\" font-size=\"2.6\" fill=\"#FFFFFF\" font-family=\"serif\">iD</text>",
|
||||
"<rect x=\"{:.4}\" y=\"{:.4}\" width=\"4.0000\" height=\"4.0000\" rx=\"0.8\" ry=\"0.8\" fill=\"#A6CE39\" /><text x=\"{:.4}\" y=\"{:.4}\" font-size=\"2.6\" fill=\"#FFFFFF\" font-family=\"serif\">iD</text>",
|
||||
scaled_units_to_mm(x),
|
||||
scaled_units_to_mm(y),
|
||||
scaled_units_to_mm(x) + 0.7,
|
||||
|
||||
Reference in new issue
Block a user