操作按钮的css调整
This commit is contained in:
parent
a857ea6dad
commit
8db612ae0a
|
@ -29,3 +29,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.edit-post-link {
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
|
@ -17,6 +17,6 @@
|
||||||
span 喜欢数
|
span 喜欢数
|
||||||
span 浏览数
|
span 浏览数
|
||||||
td
|
td
|
||||||
= link_to '编辑', edit_admin_post_path(post)
|
= link_to '编辑', edit_admin_post_path(post), class: 'edit-post-link'
|
||||||
= link_to '删除', admin_post_path(post), method: 'DELETE', confirm: '确认删除?'
|
= link_to '删除', admin_post_path(post), method: 'DELETE', confirm: '确认删除?'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue