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 authored and Aaron Carlisle committed 2018-04-11 19:08:30 -04:00
1 parent 8551188ad6
commit b97a7ee445
2 files changed
+14 -1

No files matched your search

+11
View File
@@ -6,6 +6,17 @@ Changelog
master
======
New Features
-------------
Fixes
-----
* Fix table centering (#599)
Other Changes
--------------
v0.3.0
======
+3 -1
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