Fix centered tables (#601)

* Fix centered tables

Centered elements get `display: block` which does not work with tables. This commit excepts tables, so they will still use `display: table` and center properly
Fixes #599.

* Update changelog
This commit is contained in:
Jesse Tan 2018-04-12 01:08:30 +02:00 committed by Aaron Carlisle
parent 8551188ad6
commit b97a7ee445
2 changed files with 14 additions and 1 deletions

View File

@ -6,6 +6,17 @@ Changelog
master
======
New Features
-------------
Fixes
-----
* Fix table centering (#599)
Other Changes
--------------
v0.3.0
======

View File

@ -148,7 +148,9 @@
margin: 0px $base-line-height $base-line-height 0px
.align-center
margin: auto
display: block
// Do not override display:table for tables
&:not(table)
display: block
.toctree-wrapper p.caption
@extend h2