Tweaks style of markdown tables to auto-resize
This commit is contained in:
@@ -53,8 +53,6 @@ module.exports = class MarkdownSectionController extends BaseController
|
|||||||
|
|
||||||
# Private Methods ##############################################################################
|
# Private Methods ##############################################################################
|
||||||
|
|
||||||
_
|
|
||||||
|
|
||||||
_convertImageLinks: (text)->
|
_convertImageLinks: (text)->
|
||||||
text.replace /\!\[([^\]]*)\]\(([^\)]*)\)/g, (match, altText, fileName)=>
|
text.replace /\!\[([^\]]*)\]\(([^\)]*)\)/g, (match, altText, fileName)=>
|
||||||
return ""
|
return ""
|
||||||
|
|||||||
@@ -36,13 +36,12 @@ All rights reserved.
|
|||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
margin-top: 2em;
|
margin: 2em auto 0 auto;
|
||||||
position: relative; width: 100%;
|
|
||||||
|
|
||||||
td {
|
td {
|
||||||
font-family: $font-family-normal;
|
font-family: $font-family-normal;
|
||||||
font-size: $font-size-normal;
|
font-size: $font-size-normal;
|
||||||
padding: 0.1em 0.5em;
|
padding: 0.1em 1em;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -50,6 +49,7 @@ All rights reserved.
|
|||||||
font-family: $font-family-normal;
|
font-family: $font-family-normal;
|
||||||
font-size: $font-size-normal;
|
font-size: $font-size-normal;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
padding: 0.1em 1em;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user