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
c7a6c267
Commit
c7a6c267
authored
Apr 27, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make markdown tables thinner
parent
080aac05
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
0 deletions
+25
-0
app/assets/stylesheets/framework/markdown_area.scss
app/assets/stylesheets/framework/markdown_area.scss
+4
-0
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+7
-0
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+4
-0
app/assets/stylesheets/pages/wiki.scss
app/assets/stylesheets/pages/wiki.scss
+6
-0
changelogs/unreleased/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 @
c7a6c267
...
...
@@ -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 @
c7a6c267
...
...
@@ -12,6 +12,13 @@
max-width
:
$max_width
;
}
/*
* Mixin for markdown tables
*/
@mixin
markdown-table
{
width
:
auto
;
}
/*
* Base mixin for lists in GitLab
*/
...
...
app/assets/stylesheets/pages/notes.scss
View file @
c7a6c267
...
...
@@ -97,6 +97,10 @@ ul.notes {
padding-left
:
1
.3em
;
}
}
table
{
@include
markdown-table
;
}
}
}
...
...
app/assets/stylesheets/pages/wiki.scss
View file @
c7a6c267
...
...
@@ -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 @
c7a6c267
---
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