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
5e7e672f
Commit
5e7e672f
authored
Feb 22, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
1619a881
0152d6ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
app/assets/stylesheets/framework/markdown_area.scss
app/assets/stylesheets/framework/markdown_area.scss
+0
-8
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+10
-0
changelogs/unreleased/55703-md-image-borders.yml
changelogs/unreleased/55703-md-image-borders.yml
+5
-0
No files found.
app/assets/stylesheets/framework/markdown_area.scss
View file @
5e7e672f
...
...
@@ -153,14 +153,6 @@
margin
:
10px
0
;
}
// Border around images in issue and MR comments.
img
:not
(
.emoji
)
{
border
:
1px
solid
$white-normal
;
padding
:
5px
;
margin
:
5px
0
;
// Ensure that image does not exceed viewport
max-height
:
calc
(
100vh
-
100px
);
}
table
:not
(
.js-syntax-highlight
)
{
@include
markdown-table
;
...
...
app/assets/stylesheets/framework/typography.scss
View file @
5e7e672f
...
...
@@ -371,6 +371,16 @@ code {
.md
:not
(
.use-csslab
)
{
@include
md-typography
;
&
:not
(
.wiki
)
{
img
:not
(
.emoji
)
{
border
:
1px
solid
$white-normal
;
padding
:
5px
;
margin
:
5px
0
;
// Ensure that image does not exceed viewport
max-height
:
calc
(
100vh
-
100px
);
}
}
}
/**
...
...
changelogs/unreleased/55703-md-image-borders.yml
0 → 100644
View file @
5e7e672f
---
title
:
Only show borders for markdown images in notes
merge_request
:
25448
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