Merge pull request #688 from ringozzt/ringo

fix(admin): card-component responsive
This commit is contained in:
当耐特 2021-08-14 19:59:18 +08:00 committed by GitHub
commit 067a557d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -232,7 +232,7 @@ export default class extends WeElement<Props> {
code={this.mdA}
style={gridStyle}
>
<div slot="demo" class={tw`flex justify-around px-5 py-5`}>
<div slot="demo" class={tw`flex flex-wrap justify-around px-5 py-5`}>
<div class={tw`mt-2 mb-10 mx-2 h-36 w-60`}>
<o-card title="Simple Card" hoverable="always" block="1">
<div slot="cover"></div>
@ -258,7 +258,7 @@ export default class extends WeElement<Props> {
code={this.mdC}
style={gridStyle}
>
<div slot="demo" class={tw`flex justify-around px-5 py-5`}>
<div slot="demo" class={tw`flex flex-wrap justify-around px-5 py-5`}>
<div class={tw`mt-2 mb-10 mx-5 h-56 w-72`}>
<o-card
block="1"
@ -308,7 +308,7 @@ export default class extends WeElement<Props> {
code={this.mdB}
style={gridStyle}
>
<div slot="demo" class={tw`flex justify-around px-5 py-5`}>
<div slot="demo" class={tw`flex flex-wrap justify-around px-5 py-5`}>
<div class={tw`mt-2 mb-10 mx-2 h-36 w-60`}>
<o-card title="Default size card" hoverable="true" block="1" >
<o-link
@ -350,7 +350,7 @@ export default class extends WeElement<Props> {
code={this.mdD}
style={gridStyle}
>
<div slot="demo" class={tw`flex justify-around px-5 py-5`}>
<div slot="demo" class={tw`flex flex-wrap justify-around px-5 py-5`}>
<div class={tw`mt-2 mb-10 mx-5 h-80 w-72`}>
<o-card
block="1"