Makes the fix more general to apply for the user version too

This commit is contained in:
Maxi Redigonda 2019-08-05 22:11:31 -03:00
parent 73f62d5463
commit 3c82e87d08
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
.dashboard-article-page {
word-break: break-word;
&__last-edited {
font-style: italic;
@ -8,6 +9,5 @@
&_wrapped {
padding: 0 15px;
word-break: break-word;
}
}

View File

@ -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'])
};

View File

@ -31,6 +31,7 @@
}
&_wrapped {
word-break: break-word;
padding: 0 15px;
}
}
}