Commit 0d4830a5 authored by Roman's avatar Roman

feat(RevisionList) - add scroll ro revision list

parent b3889d96
......@@ -754,6 +754,10 @@ ul.revision-history-list li.active .cycle {
}
/* ~Chart */
.screen-height-70 {
max-height: 70vh;
}
.scrollbox {
overflow: auto;
background:
......
......@@ -31,6 +31,7 @@ class List extends Component {
onSort: () => {},
sort: Immutable.Map(),
removeText: 'Remove',
className: '',
enableEnabled: false,
onClickEnabled: () => {},
actions: [],
......
......@@ -302,7 +302,7 @@ class RevisionList extends Component {
const removeConfirmMessage = 'Are you sure you want to remove this revision?';
return (
<div>
<List items={items} fields={fields} edit={false} actions={actions} />
<List items={items} fields={fields} edit={false} actions={actions} className="scrollbox screen-height-70" />
{ activeItem &&
<CloseActionBox
itemName={itemName}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment