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 {
view! {
<div style="width: 896px; margin: 0 auto;">
<h1>"Badge"</h1>
<h1>"Card"</h1>
<Demo>
<Space vertical=true>
<Card title="title">

View file

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