Tweaks style of markdown tables to auto-resize

This commit is contained in:
Andrew Miner
2015-05-03 21:16:24 -07:00
parent 8334012ea5
commit b2320752f8
2 changed files with 3 additions and 5 deletions
@@ -53,8 +53,6 @@ module.exports = class MarkdownSectionController extends BaseController
# Private Methods ##############################################################################
_
_convertImageLinks: (text)->
text.replace /\!\[([^\]]*)\]\(([^\)]*)\)/g, (match, altText, fileName)=>
return "![#{altText}](#{@imageBase}/#{fileName})"
+3 -3
View File
@@ -36,13 +36,12 @@ All rights reserved.
}
table {
margin-top: 2em;
position: relative; width: 100%;
margin: 2em auto 0 auto;
td {
font-family: $font-family-normal;
font-size: $font-size-normal;
padding: 0.1em 0.5em;
padding: 0.1em 1em;
vertical-align: middle;
}
@@ -50,6 +49,7 @@ All rights reserved.
font-family: $font-family-normal;
font-size: $font-size-normal;
font-weight: bold;
padding: 0.1em 1em;
vertical-align: middle;
text-align: center;
}