Commit 9a7a46ac authored by Clement Ho's avatar Clement Ho

Add fixed height to blob-viewer-container

parent bbf2ef06
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
<repo-sidebar/><div class="panel-right" :class="{'edit-mode': editMode}"> <repo-sidebar/><div class="panel-right" :class="{'edit-mode': editMode}">
<repo-tabs/> <repo-tabs/>
<repo-file-buttons/> <repo-file-buttons/>
<component :is="currentBlobView"></component> <component :is="currentBlobView" class="blob-viewer-container"></component>
<!-- <repo-binary-viewer/> soon™ --> <!-- <repo-binary-viewer/> soon™ -->
</div> </div>
<repo-commit-section/> <repo-commit-section/>
......
...@@ -93,6 +93,11 @@ ...@@ -93,6 +93,11 @@
} }
} }
.blob-viewer-container {
height: calc(100vh - 83px);
overflow: auto;
}
#tabs { #tabs {
border-bottom: 1px solid $white-normal; border-bottom: 1px solid $white-normal;
padding-left: 0; padding-left: 0;
......
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