diff options
author | shrimpza <git@shrimpworks.za.net> | 2014-08-26 20:10:04 +0400 |
---|---|---|
committer | shrimpza <git@shrimpworks.za.net> | 2014-08-26 20:10:04 +0400 |
commit | 30e9a247332d3bcb41d26b2cc77bec1d5e5b3aed (patch) | |
tree | f5be8807ee8178af5ae9c3db5037ff340f0a8903 /css | |
parent | 24841fe9ea689a8c8560db63528bc5659b34f5cf (diff) |
Fixes issue #6
Applies right and centre alignment via CSS selectors where Marked has specifically defined cell alignment attributes.
Diffstat (limited to 'css')
-rw-r--r-- | css/preview.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/css/preview.css b/css/preview.css index 298626a..4d3d2f2 100644 --- a/css/preview.css +++ b/css/preview.css @@ -266,6 +266,14 @@ padding: 6px 13px; } +#md_preview table tr td[align="right"] { + text-align: right; +} + +#md_preview table tr td[align="center"] { + text-align: center; +} + #md_preview table tr th :first-child, #md_preview table tr td :first-child { margin-top: 0; } |