减小 IDECard 卡片尺寸

This commit is contained in:
2026-03-30 16:45:23 +08:00
parent 9eb44cac9c
commit 5fcbc3d826

View File

@@ -13,11 +13,14 @@ onMounted(() => {})
</script>
<template>
<n-card>
<n-card
content-class="small-padding no-padding-top"
header-class="small-padding no-padding-bottom"
>
<template #header>
<div class="ide-card-header">
<n-icon :component="icon" size="34" />
<n-h2>{{ ideInfo.display }}</n-h2>
<n-h3>{{ ideInfo.display }}</n-h3>
</div>
</template>
<template #header-extra>
@@ -39,7 +42,7 @@ div.ide-card-header {
display: flex;
flex-direction: row;
h2.n-h2 {
h3.n-h3 {
margin: 0 12px;
}
}