mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 06:19:22 -05:00
feat: card component style
This commit is contained in:
parent
c17a1d3eab
commit
f2ed362782
2 changed files with 3 additions and 1 deletions
|
@ -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">
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue