bugfix: 首页不显示+号&sketch卡片尺寸
This commit is contained in:
@@ -15,11 +15,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
// const props = defineProps<{
|
||||
// title: string
|
||||
// isUrl?: boolean
|
||||
// }>()
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
title?: string
|
||||
@@ -46,17 +41,20 @@
|
||||
background-size: 100% 100%;
|
||||
padding: 2.9rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
&.is-url {
|
||||
background: url('@/assets/images/link-card.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
&.is-sketch {
|
||||
background: url('@/assets/images/sketch-card.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
background-size: contain;
|
||||
padding: 2rem 3rem;
|
||||
.report-card-header {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
// &:first-of-type{
|
||||
// margin-top: 0;
|
||||
// }
|
||||
|
||||
&-header {
|
||||
font-family: 'Medium';
|
||||
font-size: 1.6rem;
|
||||
|
||||
Reference in New Issue
Block a user