BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
00fd0259
Commit
00fd0259
authored
Apr 28, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'make_markdown_tables_thinner' into 'master'
Make markdown tables thinner Closes #14123 See merge request !10909
parents
995edc4c
c7a6c267
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
0 deletions
+25
-0
markdown_area.scss
app/assets/stylesheets/framework/markdown_area.scss
+4
-0
mixins.scss
app/assets/stylesheets/framework/mixins.scss
+7
-0
notes.scss
app/assets/stylesheets/pages/notes.scss
+4
-0
wiki.scss
app/assets/stylesheets/pages/wiki.scss
+6
-0
make_markdown_tables_thinner.yml
changelogs/unreleased/make_markdown_tables_thinner.yml
+4
-0
No files found.
app/assets/stylesheets/framework/markdown_area.scss
View file @
00fd0259
...
...
@@ -120,6 +120,10 @@
// Ensure that image does not exceed viewport
max-height
:
calc
(
100vh
-
100px
);
}
table
{
@include
markdown-table
;
}
}
.toolbar-group
{
...
...
app/assets/stylesheets/framework/mixins.scss
View file @
00fd0259
...
...
@@ -13,6 +13,13 @@
}
/*
* Mixin for markdown tables
*/
@mixin
markdown-table
{
width
:
auto
;
}
/*
* Base mixin for lists in GitLab
*/
@mixin
basic-list
{
...
...
app/assets/stylesheets/pages/notes.scss
View file @
00fd0259
...
...
@@ -97,6 +97,10 @@ ul.notes {
padding-left
:
1
.3em
;
}
}
table
{
@include
markdown-table
;
}
}
}
...
...
app/assets/stylesheets/pages/wiki.scss
View file @
00fd0259
...
...
@@ -159,3 +159,9 @@ ul.wiki-pages-list.content-list {
padding
:
5px
0
;
}
}
.wiki
{
table
{
@include
markdown-table
;
}
}
changelogs/unreleased/make_markdown_tables_thinner.yml
0 → 100644
View file @
00fd0259
---
title
:
Make markdown tables thinner
merge_request
:
10909
author
:
blackst0ne
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