File tree Expand file tree Collapse file tree
src/Frontend/src/components/messages2/SagaDiagram Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import NoSagaIcon from " @/assets/NoSaga.svg" ;
3- import CopyClipboardIcon from " @/assets/Shell_CopyClipboard.svg " ;
3+ import CopyToClipboard from " @/components/CopyToClipboard.vue " ;
44 </script >
55
66<template >
@@ -12,7 +12,7 @@ import CopyClipboardIcon from "@/assets/Shell_CopyClipboard.svg";
1212 <div class =" saga-message-box" >
1313 <p class =" saga-message-text" >To visualize your saga, please install the appropriate nuget package in your endpoint</p >
1414 <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 >
1616 </div >
1717 </div >
1818 </div >
@@ -62,9 +62,11 @@ import CopyClipboardIcon from "@/assets/Shell_CopyClipboard.svg";
6262 color : #aaaaaa ;
6363}
6464
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 " ;
6971}
7072 </style >
You can’t perform that action at this time.
0 commit comments