Commit 00fd0259 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'make_markdown_tables_thinner' into 'master'

Make markdown tables thinner

Closes #14123

See merge request !10909
parents 995edc4c c7a6c267
...@@ -120,6 +120,10 @@ ...@@ -120,6 +120,10 @@
// Ensure that image does not exceed viewport // Ensure that image does not exceed viewport
max-height: calc(100vh - 100px); max-height: calc(100vh - 100px);
} }
table {
@include markdown-table;
}
} }
.toolbar-group { .toolbar-group {
......
...@@ -12,6 +12,13 @@ ...@@ -12,6 +12,13 @@
max-width: $max_width; max-width: $max_width;
} }
/*
* Mixin for markdown tables
*/
@mixin markdown-table {
width: auto;
}
/* /*
* Base mixin for lists in GitLab * Base mixin for lists in GitLab
*/ */
......
...@@ -97,6 +97,10 @@ ul.notes { ...@@ -97,6 +97,10 @@ ul.notes {
padding-left: 1.3em; padding-left: 1.3em;
} }
} }
table {
@include markdown-table;
}
} }
} }
......
...@@ -159,3 +159,9 @@ ul.wiki-pages-list.content-list { ...@@ -159,3 +159,9 @@ ul.wiki-pages-list.content-list {
padding: 5px 0; padding: 5px 0;
} }
} }
.wiki {
table {
@include markdown-table;
}
}
---
title: Make markdown tables thinner
merge_request: 10909
author: blackst0ne
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment