Skip to content

Commit

Permalink
fix: set color for content not in <p>
Browse files Browse the repository at this point in the history
A `<p>` may not be used when beginning with custom tag.

eg. `{% post_link HelloWorld %} is my first post` (A line begins with `post_link` tag)
  • Loading branch information
ArcticLampyrid committed Sep 21, 2024
1 parent fa06900 commit ebe76d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/scss/kr-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1567,10 +1567,10 @@ ul.kratos-page-meta {
word-wrap: break-word;
margin: 10px;
font-size: 16px;
color: #000;

p {
margin-bottom: 1em;
color: #333;
margin: 1em;
}

Expand Down
6 changes: 1 addition & 5 deletions src/scss/kr-theme/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@ ul.kratos-page-meta {
}

.kratos-page-content {
p,
table td,
dl {
color: $text;
}
color: $text;
}

.kratos-page-inner {
Expand Down

0 comments on commit ebe76d5

Please sign in to comment.