Fixed style error.

pull/9/head
ruibaby 2019-05-01 01:37:46 +08:00
parent b65f545b92
commit fcd652e7c1
5 changed files with 8 additions and 34 deletions

View File

@ -97,7 +97,7 @@
</div>
<a-card-meta>
<ellipsis
:length="isMobile()?36:18"
:length="isMobile()?36:16"
tooltip
slot="description"
>{{ item.name }}</ellipsis>

View File

@ -14,25 +14,7 @@
title="最新文章"
:bodyStyle="{ padding: '0px' }"
>
<a-table
:rowKey="post => post.id"
:columns="postColumns"
:dataSource="formattedPostData"
:pagination="false"
>
<span
slot="status"
slot-scope="status"
>
<a-badge :status="status.status" />
{{ status.text }}
</span>
<span
slot="editTime"
slot-scope="editTime"
>{{ editTime | timeAgo }}</span>
</a-table>
最新文章
</a-card>
</a-col>
<a-col
@ -48,12 +30,7 @@
title="最新评论"
:bodyStyle="{ padding: '0px' }"
>
<a-table
:rowKey="comment => comment.id"
:columns="commentColumns"
:dataSource="commentData"
:pagination="false"
></a-table>
最新评论
</a-card>
</a-col>
<a-col
@ -69,12 +46,7 @@
title="最新日志"
:bodyStyle="{ padding: '0px' }"
>
<a-table
:rowKey="comment => comment.id"
:columns="commentColumns"
:dataSource="commentData"
:pagination="false"
></a-table>
最新日志
</a-card>
</a-col>
</a-row>

View File

@ -400,8 +400,8 @@ export default {
<style lang="less" scoped>
.upload-button {
position: fixed;
bottom: 80px;
right: 20px;
bottom: 30px;
right: 30px;
}
.theme-thumb {
width: 100%;

View File

@ -17,6 +17,7 @@
:boxShadow="false"
:toolbars="toolbars"
:ishljs="true"
:autofocus="false"
/>
</div>
</a-col>

View File

@ -16,6 +16,7 @@
:boxShadow="false"
:toolbars="toolbars"
:ishljs="true"
:autofocus="false"
/>
</div>
</a-col>