mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-26 15:07:04 +00:00
Merge pull request #4366 from jumpserver/pr@dev@fix_style_fix
style: Restoring styles
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
v-bind="headerActions"
|
v-bind="headerActions"
|
||||||
/>
|
/>
|
||||||
<el-row :gutter="10" class="the-row">
|
<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" />
|
<el-empty :description="$t('NoData')" :image-size="200" class="no-data" style="padding: 20px" />
|
||||||
</IBox>
|
</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
|
<el-card
|
||||||
:body-style="{ 'text-align': 'center', 'padding': '15px' }"
|
:body-style="{ 'text-align': 'center', 'padding': '15px' }"
|
||||||
:class="{'is-disabled': isDisabled(d)}"
|
:class="{'is-disabled': isDisabled(d)}"
|
||||||
@@ -234,10 +234,8 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.the-row {
|
.the-row {
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
|
max-width: 1600px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
.el-col, div {
|
.el-col, div {
|
||||||
|
Reference in New Issue
Block a user