[gi-docgen: 1/2] Change Back to Top button to PNG Previous it was unicode and caused rendering issue's on some browse
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen: 1/2] Change Back to Top button to PNG Previous it was unicode and caused rendering issue's on some browse
- Date: Wed, 31 Mar 2021 11:14:23 +0000 (UTC)
commit 8404b37bfd2d0dd6aed7257561ed3e330176d8ac
Author: Naveen M K <naveen@syrusdark.website>
Date: Mon Mar 29 18:52:14 2021 +0530
Change Back to Top button to PNG
Previous it was unicode and caused rendering
issue's on some browsers. This is now
changed to an PNG file for proper rendering
across devices.
Signed-off-by: Naveen M K <naveen@syrusdark.website>
.reuse/dep5 | 4 ++++
gidocgen/templates/basic/basic.toml | 1 +
gidocgen/templates/basic/go-up-symbolic.png | Bin 0 -> 471 bytes
gidocgen/templates/basic/style.css | 2 +-
4 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.reuse/dep5 b/.reuse/dep5
index 33b5ed9..3ff1613 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -7,6 +7,10 @@ Files: gi-docgen.pc.in
Copyright: 2021 GNOME Foundation
License: CC0-1.0
+Files: gidocgen/templates/basic/*.png
+Copyright: 2021 GNOME Foundation
+License: CC0-1.0
+
Files: gidocgen/templates/basic/*.woff
Copyright: 2019 Red Hat Inc.
License: OFL-1.1
diff --git a/gidocgen/templates/basic/basic.toml b/gidocgen/templates/basic/basic.toml
index 0937194..080703b 100644
--- a/gidocgen/templates/basic/basic.toml
+++ b/gidocgen/templates/basic/basic.toml
@@ -66,4 +66,5 @@ files = [
"RedHatText-Medium.woff2",
"RedHatText-Regular.woff",
"RedHatText-Regular.woff2",
+ "go-up-symbolic.png"
]
diff --git a/gidocgen/templates/basic/go-up-symbolic.png b/gidocgen/templates/basic/go-up-symbolic.png
new file mode 100644
index 0000000..a827b9a
Binary files /dev/null and b/gidocgen/templates/basic/go-up-symbolic.png differ
diff --git a/gidocgen/templates/basic/style.css b/gidocgen/templates/basic/style.css
index 5e6887d..f51a412 100644
--- a/gidocgen/templates/basic/style.css
+++ b/gidocgen/templates/basic/style.css
@@ -338,7 +338,7 @@ footer {
}
#btn-to-top > .up-arrow:after {
- content: "🡅"
+ content: url(go-up-symbolic.png);
}
/*********************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]