Fixes UI for overflow of extremely long titles of articles and article content
This commit is contained in:
parent
863a43c501
commit
73f62d5463
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
|
||||
&_wrapped {
|
||||
padding: 0 15px;
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue