Skip to content

Commit d239cb3

Browse files
author
zhangtao
committed
style(home): tighten the bottom row height
Reduce the image cards, card banner and about project cards from 400px to 340px while keeping the row aligned.
1 parent 2aa9a76 commit d239cb3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎frontend/web/src/views/dashboard/home/modules/about-project.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="fa-card p-5 flex justify-between h-100">
2+
<div class="fa-card p-5 flex justify-between h-85">
33
<div>
44
<h2 class="text-2xl font-medium">关于项目</h2>
55
<p class="text-g-700 mt-1">{{ systemName }} 是一款兼具设计美学与高效开发的后台系统</p>

‎frontend/web/src/views/dashboard/home/modules/image_cards.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<FaCarousel v-if="cards.length" height="400px">
3+
<FaCarousel v-if="cards.length" height="340px">
44
<ElCarouselItem v-for="card in cards" :key="card.id" class="mb-5">
55
<FaImageCard
66
:imageUrl="card.imageUrl"
@@ -19,7 +19,7 @@
1919
icon="ri:article-line"
2020
title="暂无公告"
2121
description="发布公告后会展示在这里"
22-
class="h-100"
22+
class="h-85"
2323
/>
2424
</div>
2525
</template>

‎frontend/web/src/views/dashboard/home/modules/system-status.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<FaCardBanner
3-
height="400px"
3+
height="340px"
44
:title="title"
55
:description="description"
66
:button="{

0 commit comments

Comments
 (0)