Merge pull request #600 from mredigonda/ui-tags-and-articles
UI articles
This commit is contained in:
commit
514a278574
|
@ -1,5 +1,9 @@
|
|||
.admin-panel-view-article {
|
||||
|
||||
&__content {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
&__edit-buttons {
|
||||
text-align: left;
|
||||
margin-bottom: 20px;
|
||||
|
@ -23,4 +27,4 @@
|
|||
&__button {
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,9 +76,9 @@ class DashboardArticlePage extends React.Component {
|
|||
getClass() {
|
||||
let classes = {
|
||||
'dashboard-article-page': true,
|
||||
'dashboard-article-page_wrapped': _.startsWith(this.props.location.pathname, '/article/')
|
||||
'dashboard-article-page_wrapped': _.startsWith(this.props.location.pathname, '/dashboard/article/')
|
||||
};
|
||||
|
||||
|
||||
return classNames(classes);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.dashboard-article-page {
|
||||
word-break: break-word;
|
||||
|
||||
&__last-edited {
|
||||
font-style: italic;
|
||||
|
@ -9,4 +10,4 @@
|
|||
&_wrapped {
|
||||
padding: 0 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ class DashboardListArticlesPage extends React.Component {
|
|||
getClass() {
|
||||
let classes = {
|
||||
'dashboard-list-articles-page': true,
|
||||
'dashboard-list-articles-page_wrapped': (this.props.location.pathname == '/articles'),
|
||||
'dashboard-list-articles-page_wrapped': (this.props.location.pathname == '/dashboard/articles'),
|
||||
'col-md-10 col-md-offset-1': (!this.props.config['user-system-enabled'])
|
||||
};
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
}
|
||||
|
||||
&_wrapped {
|
||||
word-break: break-word;
|
||||
padding: 0 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue