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
904af016
Commit
904af016
authored
Mar 29, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces md-area with position-relative for markdown areas
parent
62461f77
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
app/assets/javascripts/vue_shared/components/markdown/field.vue
...sets/javascripts/vue_shared/components/markdown/field.vue
+1
-1
app/assets/stylesheets/framework/markdown_area.scss
app/assets/stylesheets/framework/markdown_area.scss
+0
-4
app/views/projects/_md_preview.html.haml
app/views/projects/_md_preview.html.haml
+1
-1
No files found.
app/assets/javascripts/vue_shared/components/markdown/field.vue
View file @
904af016
...
@@ -189,7 +189,7 @@ export default {
...
@@ -189,7 +189,7 @@ export default {
<div
<div
ref=
"gl-form"
ref=
"gl-form"
:class=
"
{ 'prepend-top-default append-bottom-default': addSpacingClasses }"
:class=
"
{ 'prepend-top-default append-bottom-default': addSpacingClasses }"
class="
md-area js-vue-markdown-field
"
class="
js-vue-markdown-field md-area position-relative
"
>
>
<markdown-header
<markdown-header
:preview-markdown=
"previewMarkdown"
:preview-markdown=
"previewMarkdown"
...
...
app/assets/stylesheets/framework/markdown_area.scss
View file @
904af016
...
@@ -50,10 +50,6 @@
...
@@ -50,10 +50,6 @@
transition
:
opacity
200ms
ease-in-out
;
transition
:
opacity
200ms
ease-in-out
;
}
}
.md-area
{
position
:
relative
;
}
.md-header
{
.md-header
{
.nav-links
{
.nav-links
{
a
{
a
{
...
...
app/views/projects/_md_preview.html.haml
View file @
904af016
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
=
_
(
'This merge request is locked.'
)
=
_
(
'This merge request is locked.'
)
=
_
(
'Only project members can comment.'
)
=
_
(
'Only project members can comment.'
)
.md-area
.md-area
.position-relative
.md-header
.md-header
%ul
.nav.nav-tabs.nav-links.clearfix
%ul
.nav.nav-tabs.nav-links.clearfix
%li
.md-header-tab.active
%li
.md-header-tab.active
...
...
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