layout adjustments
This commit is contained in:
parent
e783410a2d
commit
e8fe7e0c80
@ -4,6 +4,9 @@
|
||||
vertical-align: top;
|
||||
text-align: center;
|
||||
width: 28%;
|
||||
& h2 {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.column:not(:last-child) {
|
||||
|
@ -13,7 +13,7 @@ export default class UnpublishedListing extends React.Component {
|
||||
if (!column) {
|
||||
return entries.entrySeq().map(([currColumn, currEntries]) => (
|
||||
<div key={currColumn} className={styles.column}>
|
||||
<h3>{statusDescriptions.get(currColumn)}</h3>
|
||||
<h2>{statusDescriptions.get(currColumn)}</h2>
|
||||
{this.renderColumns(currEntries, currColumn)}
|
||||
</div>
|
||||
));
|
||||
@ -41,6 +41,7 @@ export default class UnpublishedListing extends React.Component {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>Editorial Workflow</h1>
|
||||
{columns}
|
||||
</div>
|
||||
);
|
||||
|
@ -6,6 +6,7 @@ import { selectUnpublishedEntries } from '../../reducers';
|
||||
import { EDITORIAL_WORKFLOW, status } from '../../constants/publishModes';
|
||||
import UnpublishedListing from '../../components/UnpublishedListing';
|
||||
import { connect } from 'react-redux';
|
||||
import styles from '../CollectionPage.css';
|
||||
|
||||
export default function CollectionPageHOC(CollectionPage) {
|
||||
class CollectionPageHOC extends CollectionPage {
|
||||
@ -23,7 +24,7 @@ export default function CollectionPageHOC(CollectionPage) {
|
||||
if (!isEditorialWorkflow) return super.render();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className={styles.alignable}>
|
||||
<UnpublishedListing entries={unpublishedEntries}/>
|
||||
{super.render()}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user