frjo / hugo-theme-zen

A fast and clean Hugo base theme with css-grid and Hugo pipes support.
https://zen-demo.xdeb.org/
GNU General Public License v2.0
264 stars 75 forks source link

table body and head not aligned #61

Closed jiacai2050 closed 2 years ago

jiacai2050 commented 2 years ago

First, thanks for this awesome theme, I have used for quite a while. There is one annoying issue with table display, the head part isn't aligned with body, see figure below

image

Could you fix this?

FYI, link below is my blog post with this issue

frjo commented 2 years ago

The "th" element is aligned "center" by default. The zen theme has no styles for this so fall back to the defaults implemented by the browser.

Sounds like you want it aligned "left" so add this style.

th { text-align: left; }

The Zen theme is ment to be a base theme. A solid foundation with some neat features that you add your own design too.

It is of course perfectly fine to use it as is but it do not look like much.

jiacai2050 commented 2 years ago

Thanks