Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-08-10 01:17:13 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-08-10 01:17:13 +0300
commit8b134e7dc4a64b0ebc82b508ea948aa7a07ccb99 (patch)
tree6e4176da39d67232959cf55efeefa10742d1e469 /app/views/projects
parente01456fd405d54e880b847e27e184da31d8e64b7 (diff)
Dynamically truncate branch name on larger viewports
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/blob/_editor.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml
index ec58309055d..24f256d083b 100644
--- a/app/views/projects/blob/_editor.html.haml
+++ b/app/views/projects/blob/_editor.html.haml
@@ -5,8 +5,8 @@
.editor-ref.block-truncated
= sprite_icon('fork', size: 12)
= ref
- %span.editor-file-name
- - if current_action?(:edit) || current_action?(:update)
+ - if current_action?(:edit) || current_action?(:update)
+ %span.editor-file-name
= text_field_tag 'file_path', (params[:file_path] || @path),
class: 'form-control new-file-path js-file-path-name-input'
@@ -16,7 +16,7 @@
= text_field_tag 'file_name', params[:file_name], placeholder: "File name",
required: true, class: 'form-control new-file-name js-file-path-name-input'
- .float-right.file-buttons
+ .file-buttons
= button_tag class: 'soft-wrap-toggle btn', type: 'button', tabindex: '-1' do
%span.no-wrap
= custom_icon('icon_no_wrap')