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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
d0ffbd18
Commit
d0ffbd18
authored
Aug 02, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fixed monaco height"
This reverts commit
ba8bcdab
.
parent
92e1707c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/repo/components/repo_editor.vue
app/assets/javascripts/repo/components/repo_editor.vue
+1
-2
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+1
-0
No files found.
app/assets/javascripts/repo/components/repo_editor.vue
View file @
d0ffbd18
...
@@ -24,7 +24,6 @@ const RepoEditor = {
...
@@ -24,7 +24,6 @@ const RepoEditor = {
const
newModel
=
this
.
monaco
.
editor
.
createModel
(
this
.
blobRaw
,
languageID
);
const
newModel
=
this
.
monaco
.
editor
.
createModel
(
this
.
blobRaw
,
languageID
);
this
.
monacoInstance
.
setModel
(
newModel
);
this
.
monacoInstance
.
setModel
(
newModel
);
this
.
monacoInstance
.
layout
();
}).
catch
(
Helper
.
loadingError
);
}).
catch
(
Helper
.
loadingError
);
},
},
...
@@ -33,7 +32,7 @@ const RepoEditor = {
...
@@ -33,7 +32,7 @@ const RepoEditor = {
if
(
!
this
.
openedFiles
.
length
||
(
this
.
binary
&&
!
this
.
activeFile
.
raw
))
{
if
(
!
this
.
openedFiles
.
length
||
(
this
.
binary
&&
!
this
.
activeFile
.
raw
))
{
this
.
$el
.
style
.
display
=
'
none
'
;
this
.
$el
.
style
.
display
=
'
none
'
;
}
else
{
}
else
{
this
.
$el
.
style
.
display
=
''
;
this
.
$el
.
style
.
display
=
'
inline-block
'
;
}
}
},
},
...
...
app/assets/stylesheets/pages/repo.scss
View file @
d0ffbd18
...
@@ -152,6 +152,7 @@
...
@@ -152,6 +152,7 @@
padding
:
10px
5px
;
padding
:
10px
5px
;
position
:
relative
;
position
:
relative
;
border-top
:
1px
solid
$white-normal
;
border-top
:
1px
solid
$white-normal
;
margin-top
:
-5px
;
}
}
#binary-viewer
{
#binary-viewer
{
...
...
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