Skip to content

Commit

Permalink
chore: minor styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Jan 30, 2024
1 parent ea38914 commit 6ef1d94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/components/Poll/PollTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ interface PollTitleAttrs extends ComponentAttrs {

export default class PollTitle extends Component<PollTitleAttrs> {
view(): Mithril.Children {
return <p className="Poll-title">{this.attrs.text}</p>;
return <h2 className="Poll-title">{this.attrs.text}</h2>;
}
}
5 changes: 5 additions & 0 deletions resources/less/forum.less
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@
// gap: 10px;
}

.Poll-description {
color: var(--muted-color);
}

.Poll-options {
display: grid;
gap: 10px;
Expand Down Expand Up @@ -486,6 +490,7 @@

.PollOption-description {
display: block;
color: var(--muted-color);
}

.PollOption-tmp:has(.PollOption-input:checked) {
Expand Down

0 comments on commit 6ef1d94

Please sign in to comment.