Make markdown tables thinner

This commit is contained in:
blackst0ne 2017-04-27 22:28:53 +11:00
parent 080aac050d
commit c7a6c267a6
5 changed files with 25 additions and 0 deletions

View File

@ -120,6 +120,10 @@
// Ensure that image does not exceed viewport
max-height: calc(100vh - 100px);
}
table {
@include markdown-table;
}
}
.toolbar-group {

View File

@ -12,6 +12,13 @@
max-width: $max_width;
}
/*
* Mixin for markdown tables
*/
@mixin markdown-table {
width: auto;
}
/*
* Base mixin for lists in GitLab
*/

View File

@ -97,6 +97,10 @@ ul.notes {
padding-left: 1.3em;
}
}
table {
@include markdown-table;
}
}
}

View File

@ -159,3 +159,9 @@ ul.wiki-pages-list.content-list {
padding: 5px 0;
}
}
.wiki {
table {
@include markdown-table;
}
}

View File

@ -0,0 +1,4 @@
---
title: Make markdown tables thinner
merge_request: 10909
author: blackst0ne