Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9a7a46ac
Commit
9a7a46ac
authored
Aug 04, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add fixed height to blob-viewer-container
parent
bbf2ef06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/assets/javascripts/repo/components/repo.vue
app/assets/javascripts/repo/components/repo.vue
+1
-1
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+5
-0
No files found.
app/assets/javascripts/repo/components/repo.vue
View file @
9a7a46ac
...
@@ -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/>
...
...
app/assets/stylesheets/pages/repo.scss
View file @
9a7a46ac
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment