diff --git a/frontend/src/css/file-history.css b/frontend/src/css/file-history.css index 8d226b2164..1e9c04374c 100644 --- a/frontend/src/css/file-history.css +++ b/frontend/src/css/file-history.css @@ -122,3 +122,33 @@ text-decoration: none; color: #6e7687; } + +.history-content .main-panel { + flex: 1 1 auto; +} + +.history-content .history-side-panel { + flex: 0 0 auto; + user-select: none; + border-left: 1px solid #e5e5e5; + background-color: #fff; + display: flex; + flex-direction: column; +} + +.history-content .history-side-panel .history-side-panel-title { + height: 50px; + border-bottom: 1px solid #e5e5e5; + line-height: 50px; + font-size: 1rem; + padding: 0 10px; + background-color: rgb(250,250,249); + font-weight: bolder; +} + +@media (min-width:992px) { + .history-side-panel { + width: 260px; + } +} + diff --git a/frontend/src/file-history.js b/frontend/src/file-history.js index 2152e05a19..dac83b675a 100644 --- a/frontend/src/file-history.js +++ b/frontend/src/file-history.js @@ -88,12 +88,12 @@ class FileHistory extends React.Component {
- +
); diff --git a/frontend/src/pages/file-history/side-panel.js b/frontend/src/pages/file-history/side-panel.js index 084ab81fba..fa1de1cee2 100644 --- a/frontend/src/pages/file-history/side-panel.js +++ b/frontend/src/pages/file-history/side-panel.js @@ -97,9 +97,9 @@ class SidePanel extends React.Component { render() { return ( -
+
-
{gettext('History Versions')}
+
{gettext('History Versions')}
{this.state.isLoading && } {this.state.historyInfo &&