feat: card component style

This commit is contained in:
luoxiao 2023-10-17 21:27:39 +08:00
parent c17a1d3eab
commit f2ed362782
2 changed files with 3 additions and 1 deletions

View file

@ -7,7 +7,7 @@ use prisms::highlight_str;
pub fn CardPage() -> impl IntoView { pub fn CardPage() -> impl IntoView {
view! { view! {
<div style="width: 896px; margin: 0 auto;"> <div style="width: 896px; margin: 0 auto;">
<h1>"Badge"</h1> <h1>"Card"</h1>
<Demo> <Demo>
<Space vertical=true> <Space vertical=true>
<Card title="title"> <Card title="title">

View file

@ -1,6 +1,8 @@
.melt-card { .melt-card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border: 1px solid #efeff5;
border-radius: 3px;
overflow: hidden; overflow: hidden;
} }
.melt-card__header { .melt-card__header {