mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
功能优化和新增 (#956)
* feat: 首页项目拖拽排序功能 * feat: 增加首页项目拖拽排序增加只能管理员进行, 排序失败元素回到原本位置 * perf: 新建文章以后直接进入到编辑文章页面 * perf: 优化文档打开时或刷新时样式闪动问题 * perf: 优化表格样式 * feat: 支持上传视频功能 * feat: 视频样式调整 * feat: 直接粘贴视频上传功能 * perf: 优化markdown目录显示
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
border-bottom: none;
|
||||
line-height: 1.5
|
||||
line-height: 1.5;
|
||||
display: table;
|
||||
}
|
||||
|
||||
.editormd-preview-container table td,.editormd-preview-container table th {
|
||||
@@ -50,30 +51,43 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.whole-article-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.article-body .markdown-toc{
|
||||
position: fixed;
|
||||
right: 0;
|
||||
right: 50px;
|
||||
width: 260px;
|
||||
font-size: 12px;
|
||||
margin-top: -70px;
|
||||
overflow: auto;
|
||||
margin-right: 50px;
|
||||
border: 1px solid #e8e8e8;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.markdown-toc ul{
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
.markdown-toc-list {
|
||||
padding:20px 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.markdown-toc .markdown-toc-list>li{
|
||||
padding: 3px 10px 3px 16px;
|
||||
line-height: 18px;
|
||||
border-left: 2px solid #e8e8e8;
|
||||
/*border-left: 2px solid #e8e8e8;*/
|
||||
color: #595959;
|
||||
margin-left: -2px;
|
||||
}
|
||||
.markdown-toc .markdown-toc-list>li.active{
|
||||
border-right: 2px solid #25b864;
|
||||
}
|
||||
|
||||
.article-body .markdown-article{
|
||||
margin-right: 250px;
|
||||
width: calc(100% - 260px);
|
||||
/*margin-right: 250px;*/
|
||||
}
|
||||
.article-body.content .markdown-toc{
|
||||
position: relative;
|
||||
@@ -86,7 +100,7 @@
|
||||
.markdown-toc-list .directory-item {
|
||||
padding: 3px 10px 3px 16px;
|
||||
line-height: 18px;
|
||||
border-left: 2px solid #e8e8e8;
|
||||
/*border-left: 2px solid #e8e8e8;*/
|
||||
color: #595959;
|
||||
}
|
||||
.markdown-toc-list .directory-item-link {
|
||||
|
||||
Reference in New Issue
Block a user