This is an automated email from the ASF dual-hosted git repository.

gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 0d26164882b4fc49cdf60f4a46f310484658dcf9
Author: Gaelle Fournier <[email protected]>
AuthorDate: Fri Oct 3 15:05:24 2025 +0200

    fix: Use real img instead of embedded svg code
---
 antora-ui-camel/src/css/doc.css            | 4 ++--
 antora-ui-camel/src/img/copy-checkmark.svg | 3 +++
 antora-ui-camel/src/img/copy.svg           | 3 +++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/antora-ui-camel/src/css/doc.css b/antora-ui-camel/src/css/doc.css
index e04de163..04ddf18a 100644
--- a/antora-ui-camel/src/css/doc.css
+++ b/antora-ui-camel/src/css/doc.css
@@ -673,7 +673,7 @@
   display: block;
   width: 1.25em;
   height: 1.25em;
-  background-image: url("data:image/svg+xml,%3Csvg 
xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 
16'%3E%3Cpath fill='%23c1c1c1' fill-rule='evenodd' d='M5.75 1a.75.75 0 
00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 
00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 
0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 
1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.2 [...]
+  background-image: url("../img/copy.svg");
   background-size: contain;
   background-repeat: no-repeat;
   background-position: center;
@@ -681,7 +681,7 @@
 }
 
 .doc .source-toolbox .copy-button.clicked::before {
-  background-image: url("data:image/svg+xml,%3Csvg 
xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 
16'%3E%3Cpath fill='%23c1c1c1' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 
7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 
1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E");
+  background-image: url("../img/copy-checkmark.svg");
 }
 
 .doc .source-toolbox .copy-toast {
diff --git a/antora-ui-camel/src/img/copy-checkmark.svg 
b/antora-ui-camel/src/img/copy-checkmark.svg
new file mode 100644
index 00000000..e3b7a561
--- /dev/null
+++ b/antora-ui-camel/src/img/copy-checkmark.svg
@@ -0,0 +1,3 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 
16'>
+  <path fill='#c1c1c1' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 
0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 
10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/>
+</svg>
diff --git a/antora-ui-camel/src/img/copy.svg b/antora-ui-camel/src/img/copy.svg
new file mode 100644
index 00000000..af85cf9e
--- /dev/null
+++ b/antora-ui-camel/src/img/copy.svg
@@ -0,0 +1,3 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 
16'>
+  <path fill='#c1c1c1' fill-rule='evenodd' d='M5.75 1a.75.75 0 00-.75.75v3c0 
.414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 
3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 
.966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 
00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 
01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z'/>
+</svg>

Reply via email to