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
da0a5f6d
Commit
da0a5f6d
authored
Feb 23, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates to sizes & spacing
parent
06121df9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
app/assets/javascripts/ide/components/commit_sidebar/radio_group.vue
...javascripts/ide/components/commit_sidebar/radio_group.vue
+1
-1
app/assets/javascripts/ide/components/ide_context_bar.vue
app/assets/javascripts/ide/components/ide_context_bar.vue
+2
-2
app/assets/javascripts/ide/components/repo_commit_section.vue
...assets/javascripts/ide/components/repo_commit_section.vue
+2
-2
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+2
-2
spec/javascripts/repo/components/repo_commit_section_spec.js
spec/javascripts/repo/components/repo_commit_section_spec.js
+2
-2
No files found.
app/assets/javascripts/ide/components/commit_sidebar/radio_group.vue
View file @
da0a5f6d
...
...
@@ -81,7 +81,7 @@
>
<input
type=
"text"
class=
"form-control
input-sm
"
class=
"form-control"
:placeholder=
"newBranchName"
@
input=
"updateBranchName($event.target.value)"
/>
...
...
app/assets/javascripts/ide/components/ide_context_bar.vue
View file @
da0a5f6d
...
...
@@ -22,7 +22,7 @@
},
data
()
{
return
{
width
:
29
0
,
width
:
34
0
,
};
},
computed
:
{
...
...
@@ -120,7 +120,7 @@
<panel-resizer
:size.sync=
"width"
:enabled=
"!rightPanelCollapsed"
:start-size=
"
29
0"
:start-size=
"
34
0"
:min-size=
"200"
:max-size=
"maxSize"
@
resize-start=
"resizingStarted"
...
...
app/assets/javascripts/ide/components/repo_commit_section.vue
View file @
da0a5f6d
...
...
@@ -110,7 +110,7 @@ export default {
>
<div
class=
"multi-file-commit-fieldset"
>
<textarea
class=
"form-control
input-sm
multi-file-commit-message"
class=
"form-control multi-file-commit-message"
name=
"commit-message"
:value=
"commitMessage"
:placeholder=
"__('Write a commit message...')"
...
...
@@ -128,9 +128,9 @@ export default {
@
click=
"commitChanges"
/>
<button
v-if=
"!discardDraftButtonDisabled"
type=
"button"
class=
"btn btn-default btn-sm pull-right"
:disabled=
"discardDraftButtonDisabled"
@
click=
"discardDraft"
>
{{
__
(
'
Discard draft
'
)
}}
...
...
app/assets/stylesheets/pages/repo.scss
View file @
da0a5f6d
...
...
@@ -266,7 +266,7 @@ table.table tr td.multi-file-table-name {
display
:
flex
;
position
:
relative
;
flex-direction
:
column
;
width
:
29
0px
;
width
:
34
0px
;
padding
:
0
;
background-color
:
$gray-light
;
padding-right
:
3px
;
...
...
@@ -469,7 +469,7 @@ table.table tr td.multi-file-table-name {
}
.multi-file-commit-message.form-control
{
height
:
8
0px
;
height
:
16
0px
;
resize
:
none
;
}
...
...
spec/javascripts/repo/components/repo_commit_section_spec.js
View file @
da0a5f6d
...
...
@@ -111,8 +111,8 @@ describe('RepoCommitSection', () => {
});
describe
(
'
discard draft button
'
,
()
=>
{
it
(
'
disabled
when commitMessage is empty
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.multi-file-commit-form .btn-default
'
)
.
getAttribute
(
'
disabled
'
)).
not
.
toBeNull
();
it
(
'
hidden
when commitMessage is empty
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.multi-file-commit-form .btn-default
'
)
)
.
toBeNull
();
});
it
(
'
resets commitMessage when clicking discard button
'
,
(
done
)
=>
{
...
...
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