mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 21:07:17 +00:00
optimize code (#5229)
This commit is contained in:
@@ -43,12 +43,6 @@
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.wiki-pages-container .wiki-index-page {
|
||||
margin-top: 20px;
|
||||
margin-left: 2rem;
|
||||
color: #eb8205;
|
||||
}
|
||||
|
||||
.wiki-md-viewer-rendered-content {
|
||||
padding: 30px 0 0;
|
||||
}
|
||||
@@ -136,6 +130,7 @@ img[src=""] {
|
||||
@media (max-width: 991.98px) {
|
||||
.cur-view-content .wiki-page-container {
|
||||
padding: 0 14px;
|
||||
padding-top: 30px;
|
||||
}
|
||||
.cur-view-content .wiki-page-content {
|
||||
width: 100%;
|
||||
|
@@ -31,7 +31,7 @@ class SidePanel extends Component {
|
||||
return (
|
||||
<Fragment>
|
||||
<div className="wiki-pages-container">
|
||||
<div className='wiki-index-page'>{gettext('Index')}</div>
|
||||
<div style={{marginTop: '2px'}}></div>
|
||||
<IndexContentViewer
|
||||
indexContent={this.props.indexContent}
|
||||
onLinkClick={this.props.onLinkClick}
|
||||
|
Reference in New Issue
Block a user