File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/Frontend/src/components/messages2/SagaDiagram Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import NoSagaIcon from " @/assets/NoSaga.svg" ;
3
- import CopyClipboardIcon from " @/assets/Shell_CopyClipboard.svg " ;
3
+ import CopyToClipboard from " @/components/CopyToClipboard.vue " ;
4
4
</script >
5
5
6
6
<template >
@@ -12,7 +12,7 @@ import CopyClipboardIcon from "@/assets/Shell_CopyClipboard.svg";
12
12
<div class =" saga-message-box" >
13
13
<p class =" saga-message-text" >To visualize your saga, please install the appropriate nuget package in your endpoint</p >
14
14
<a href =" https://www.nuget.org/packages/NServiceBus.SagaAudit" class =" saga-message-link" >install-package NServiceBus.SagaAudit</a >
15
- <img class =" saga-message-icon " :src = " CopyClipboardIcon " alt = " " />
15
+ <span class =" clippy-button " >< CopyToClipboard value = " install-package NServiceBus.SagaAudit " :isIconOnly = " true " /></ span >
16
16
</div >
17
17
</div >
18
18
</div >
@@ -62,9 +62,11 @@ import CopyClipboardIcon from "@/assets/Shell_CopyClipboard.svg";
62
62
color : #aaaaaa ;
63
63
}
64
64
65
- .saga-message-icon {
66
- display : inline-block ;
67
- margin-left : 0.5rem ;
68
- width : 1.5rem ;
65
+ .clippy-button {
66
+ white-space : pre ;
67
+ }
68
+
69
+ .clippy-button ::before {
70
+ content : " \00a0 " ;
69
71
}
70
72
</style >
You can’t perform that action at this time.
0 commit comments