Skip to content

Commit 60a0461

Browse files
author
Pablo Borowicz
committed
Fix horizontal alignment on table headers
1 parent 98bfb49 commit 60a0461

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Diff for: src/themes/hugo-theme-learn/_src/sass/_theme.scss

+8
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,14 @@ th {
590590
background: #f7f7f7;
591591
padding: 0.5rem .8rem;
592592
font-size: 1.1em;
593+
594+
&[align="center"] {
595+
text-align: center;
596+
}
597+
598+
&[align="right"] {
599+
text-align: right;
600+
}
593601
}
594602

595603
td {

Diff for: src/themes/hugo-theme-learn/static/css/style.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/themes/hugo-theme-learn/static/css/style.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)