mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-28 00:04:31 +02:00
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 {
|
.admin-panel-view-article {
|
||||||
|
|
||||||
|
&__content {
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
&__edit-buttons {
|
&__edit-buttons {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
@ -76,7 +76,7 @@ class DashboardArticlePage extends React.Component {
|
|||||||
getClass() {
|
getClass() {
|
||||||
let classes = {
|
let classes = {
|
||||||
'dashboard-article-page': true,
|
'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);
|
return classNames(classes);
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
|
|
||||||
&_wrapped {
|
&_wrapped {
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user