diff --git a/frontend/src/css/file-history-old.css b/frontend/src/css/file-history-old.css index bbf5e33745..9700b75fff 100644 --- a/frontend/src/css/file-history-old.css +++ b/frontend/src/css/file-history-old.css @@ -68,6 +68,7 @@ width: 16px; height: 16px; border-radius: 2px; + vertical-align: middle; } .old-history-main .commit-list .username { diff --git a/frontend/src/file-history-old.js b/frontend/src/file-history-old.js index e769364dcd..91ae395e45 100644 --- a/frontend/src/file-history-old.js +++ b/frontend/src/file-history-old.js @@ -203,24 +203,23 @@ class FileHistory extends React.Component {
-
+

{fileName}{' '}{gettext('History Versions')}

-
-
- {this.state.isLoading && } - {!this.state.isLoading && - - - - - - - - - + + +
{gettext('Time')}{gettext('Modifier')}{gettext('Size')}
+ + + + + + + + + {!this.state.isLoading && {this.state.historyList.map((item, index) => { return ( @@ -235,13 +234,13 @@ class FileHistory extends React.Component { ); })} -
{gettext('Time')}{gettext('Modifier')}{gettext('Size')}
- } - {this.state.isReloadingData && } + } + + {(this.state.isReloadingData || this.state.isLoading) && } {this.state.nextCommit && !this.state.isLoading && !this.state.isReloadingData && } -
+