Skip to content

Commit

Permalink
tweak hint/solution CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Jordan committed Oct 26, 2023
1 parent 0097eb8 commit 122a3e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions htdocs/js/Problem/problem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
border: 1px solid black;
}
}

/* Hints and Solutions */
.hint summary, .solution summary {
font-weight: bold;
color: var(--bs-primary);
}
}

/* rtl:raw:
Expand Down
4 changes: 2 additions & 2 deletions macros/core/PGbasicmacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ sub SOLUTION {
class => 'accordion-item',
tag(
'summary',
class => 'accordion-button collapsed',
class => 'accordion-button collapsed p-2',
tag('div', class => 'accordion-header user-select-none', SOLUTION_HEADING())
)
. tag(
Expand Down Expand Up @@ -1232,7 +1232,7 @@ sub HINT {
class => 'accordion-item',
tag(
'summary',
class => 'accordion-button collapsed',
class => 'accordion-button collapsed p-2',
tag('div', class => 'accordion-header user-select-none', HINT_HEADING())
)
. tag(
Expand Down

0 comments on commit 122a3e1

Please sign in to comment.