Skip to content

Commit

Permalink
Undo copy button changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wleightond committed Dec 5, 2024
1 parent 3cad198 commit 23be5a2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions frontend_vue/src/components/base/BaseCopyButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@
shown: isTriggered,
triggers: tooltipTriggers,
}"
:class="
props.disabled
? 'cursor-not-allowed bg-grey-200 hover:bg-grey-200'
: 'cursor-pointer bg-green hover:bg-green-300 '
"
class="h-[2rem] w-[2rem] font-semibold text-white rounded-full transition duration-100"
class="h-[2rem] w-[2rem] font-semibold text-white rounded-full bg-green hover:bg-green-300 transition duration-100"
aria-label="Copy to clipboard"
:disabled="props.disabled || !isSupported"
@click="copyContent"
>
<Transition
Expand Down Expand Up @@ -45,7 +39,6 @@ import { useClipboard } from '@vueuse/core';
const props = withDefaults(
defineProps<{
content: string;
disabled?: boolean;
}>(),
{
content: '',
Expand Down

0 comments on commit 23be5a2

Please sign in to comment.