Skip to content

Commit

Permalink
Fix horizontal alignment on table headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Borowicz committed Jul 2, 2020
1 parent 98bfb49 commit 60a0461
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/themes/hugo-theme-learn/_src/sass/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,14 @@ th {
background: #f7f7f7;
padding: 0.5rem .8rem;
font-size: 1.1em;

&[align="center"] {
text-align: center;
}

&[align="right"] {
text-align: right;
}
}

td {
Expand Down
4 changes: 4 additions & 0 deletions src/themes/hugo-theme-learn/static/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/themes/hugo-theme-learn/static/css/style.css.map

Large diffs are not rendered by default.

0 comments on commit 60a0461

Please sign in to comment.