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
63835bab
Commit
63835bab
authored
Feb 05, 2021
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused dropdown
parent
72aba62e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
+5
-15
app/assets/stylesheets/pages/editor.scss
app/assets/stylesheets/pages/editor.scss
+0
-13
app/views/projects/blob/_editor.html.haml
app/views/projects/blob/_editor.html.haml
+0
-2
changelogs/unreleased/296645-removed-unused-dropdown.yml
changelogs/unreleased/296645-removed-unused-dropdown.yml
+5
-0
No files found.
app/assets/stylesheets/pages/editor.scss
View file @
63835bab
...
...
@@ -74,14 +74,10 @@
justify-content
:
flex-end
;
}
.encoding-selector
,
.soft-wrap-toggle
{
display
:
inline-block
;
vertical-align
:
top
;
font-family
:
$regular-font
;
}
.soft-wrap-toggle
{
margin
:
0
$btn-side-margin
;
.soft-wrap
{
...
...
@@ -128,15 +124,6 @@
margin
:
3px
0
;
}
.encoding-selector
{
display
:
block
;
margin
:
3px
0
;
button
{
width
:
100%
;
}
}
@media
(
max-width
:
map-get
(
$grid-breakpoints
,
md
)
-1
)
{
clear
:
both
;
}
...
...
app/views/projects/blob/_editor.html.haml
View file @
63835bab
...
...
@@ -36,8 +36,6 @@
%span
.soft-wrap
=
custom_icon
(
'icon_soft_wrap'
)
Soft wrap
.encoding-selector
=
select_tag
:encoding
,
options_for_select
([
"base64"
,
"text"
],
"text"
),
class:
'select2'
,
tabindex:
'-1'
.file-editor.code
.js-edit-mode-pane.qa-editor
#editor
{
data:
{
'editor-loading'
:
true
}
}
<
...
...
changelogs/unreleased/296645-removed-unused-dropdown.yml
0 → 100644
View file @
63835bab
---
title
:
Removed unused Text dropdown
merge_request
:
53464
author
:
type
:
removed
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