Skip to content

Commit

Permalink
style: Restoring styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoJiSen committed Sep 19, 2024
1 parent 050b50f commit c025441
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/Table/CardTable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
v-bind="headerActions"
/>
<el-row :gutter="10" class="the-row">
<IBox v-if="totalData.length === 0" style="width: 100%">
<IBox v-if="totalData.length === 0">
<el-empty :description="$t('NoData')" :image-size="200" class="no-data" style="padding: 20px" />
</IBox>
<el-col v-for="(d, index) in totalData" :key="index" style="max-width: 550px; width: 350px">
<el-col v-for="(d, index) in totalData" :key="index" :lg="8" :md="12" :sm="24" style="min-width: 335px;">
<el-card
:body-style="{ 'text-align': 'center', 'padding': '15px' }"
:class="{'is-disabled': isDisabled(d)}"
Expand Down Expand Up @@ -234,10 +234,8 @@ export default {
<style lang="scss" scoped>
.the-row {
display: flex;
flex-wrap: wrap;
width: 100%;
margin-top: 15px;
max-width: 1600px;
text-align: center;
.el-col, div {
Expand Down

0 comments on commit c025441

Please sign in to comment.