提交 46bf224a 编写于 作者: L LeoKu

fix: clipboard

上级 69870f8d
...@@ -245,7 +245,8 @@ function handleAction(actionType: ActionType) { ...@@ -245,7 +245,8 @@ function handleAction(actionType: ActionType) {
color: lighten($color-text, 10); color: lighten($color-text, 10);
} }
&:disabled { &:disabled,
&[disabled] {
color: rgba($color-text, 0.5); color: rgba($color-text, 0.5);
cursor: default; cursor: default;
} }
......
<template> <template>
<transition name="fade"> <transition name="fade">
<div v-if="props.visible" class="code-modal" @click="emit('close')"> <div v-if="props.visible" class="code-modal" @click.self="emit('close')">
<div class="code-box" @click.stop> <div class="code-box">
<div class="code-header"> <div class="code-header">
<div class="title">{{ t('text.codeModalTitle') }}</div> <div class="title">{{ t('text.codeModalTitle') }}</div>
......
...@@ -35,6 +35,7 @@ import Logo from '@/components/Logo.vue' ...@@ -35,6 +35,7 @@ import Logo from '@/components/Logo.vue'
margin-left: 1rem; margin-left: 1rem;
font-weight: bold; font-weight: bold;
font-size: 1.9rem; font-size: 1.9rem;
cursor: default;
@media screen and (max-width: $screen-sm) { @media screen and (max-width: $screen-sm) {
display: none; display: none;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册