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
e01456fd
Commit
e01456fd
authored
Aug 03, 2018
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solve buttons on new file page wrap outside of the container
parent
266666d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
+16
-7
app/assets/stylesheets/pages/editor.scss
app/assets/stylesheets/pages/editor.scss
+10
-6
app/views/projects/blob/_editor.html.haml
app/views/projects/blob/_editor.html.haml
+1
-1
changelogs/unreleased/47752-buttons-on-new-file-page-wrap-outside-of-container-for-long-branch-names.yml
...-page-wrap-outside-of-container-for-long-branch-names.yml
+5
-0
No files found.
app/assets/stylesheets/pages/editor.scss
View file @
e01456fd
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
line-height
:
35px
;
line-height
:
35px
;
padding-top
:
7px
;
padding-top
:
7px
;
padding-bottom
:
7px
;
padding-bottom
:
7px
;
display
:
flex
;
.float-right
{
.float-right
{
height
:
20px
;
height
:
20px
;
...
@@ -49,6 +50,7 @@
...
@@ -49,6 +50,7 @@
display
:
block
;
display
:
block
;
float
:
left
;
float
:
left
;
margin-right
:
10px
;
margin-right
:
10px
;
flex
:
1
;
}
}
.editor-file-name
{
.editor-file-name
{
...
@@ -60,14 +62,10 @@
...
@@ -60,14 +62,10 @@
.new-file-name
{
.new-file-name
{
display
:
inline-block
;
display
:
inline-block
;
max-width
:
4
5
0px
;
max-width
:
4
2
0px
;
float
:
left
;
float
:
left
;
@media
(
max-width
:
map-get
(
$grid-breakpoints
,
lg
)
-1
)
{
@media
(
max-width
:
map-get
(
$grid-breakpoints
,
lg
)
-1
)
{
width
:
280px
;
}
@media
(
max-width
:
map-get
(
$grid-breakpoints
,
md
)
-1
)
{
width
:
180px
;
width
:
180px
;
}
}
}
}
...
@@ -111,9 +109,11 @@
...
@@ -111,9 +109,11 @@
}
}
@include
media-breakpoint-down
(
xs
)
{
@include
media-breakpoint-down
(
sm
)
{
.file-editor
{
.file-editor
{
.file-title
{
.file-title
{
display
:
block
;
.float-right
{
.float-right
{
height
:
auto
;
height
:
auto
;
}
}
...
@@ -144,6 +144,10 @@
...
@@ -144,6 +144,10 @@
}
}
}
}
}
}
.editor-ref
{
max-width
:
250px
;
}
}
}
}
}
...
...
app/views/projects/blob/_editor.html.haml
View file @
e01456fd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.file-holder-bottom-radius.file-holder.file.append-bottom-default
.file-holder-bottom-radius.file-holder.file.append-bottom-default
.js-file-title.file-title.clearfix
{
data:
{
current_action:
action
}
}
.js-file-title.file-title.clearfix
{
data:
{
current_action:
action
}
}
.editor-ref
.editor-ref
.block-truncated
=
sprite_icon
(
'fork'
,
size:
12
)
=
sprite_icon
(
'fork'
,
size:
12
)
=
ref
=
ref
%span
.editor-file-name
%span
.editor-file-name
...
...
changelogs/unreleased/47752-buttons-on-new-file-page-wrap-outside-of-container-for-long-branch-names.yml
0 → 100644
View file @
e01456fd
---
title
:
Fix buttons on the new file page wrapping outside of the container
merge_request
:
21015
author
:
type
:
fixed
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