fix: clipboard

This commit is contained in:
LeoKu 2021-10-17 11:13:46 +08:00
parent 69870f8dca
commit 46bf224ace
3 changed files with 5 additions and 3 deletions

View File

@ -245,7 +245,8 @@ function handleAction(actionType: ActionType) {
color: lighten($color-text, 10);
}
&:disabled {
&:disabled,
&[disabled] {
color: rgba($color-text, 0.5);
cursor: default;
}

View File

@ -1,7 +1,7 @@
<template>
<transition name="fade">
<div v-if="props.visible" class="code-modal" @click="emit('close')">
<div class="code-box" @click.stop>
<div v-if="props.visible" class="code-modal" @click.self="emit('close')">
<div class="code-box">
<div class="code-header">
<div class="title">{{ t('text.codeModalTitle') }}</div>

View File

@ -35,6 +35,7 @@ import Logo from '@/components/Logo.vue'
margin-left: 1rem;
font-weight: bold;
font-size: 1.9rem;
cursor: default;
@media screen and (max-width: $screen-sm) {
display: none;