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