Fixes UI for overflow of extremely long titles of articles and article content

This commit is contained in:
Maxi Redigonda 2019-08-05 22:06:04 -03:00
parent 863a43c501
commit 73f62d5463
3 changed files with 9 additions and 4 deletions

View File

@ -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;
}
}
}

View File

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

View File

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