Skip to content

Commit

Permalink
UHF-8937: CSS tweaks to the supports swedish pill and order change.
Browse files Browse the repository at this point in the history
  • Loading branch information
dire committed Oct 19, 2023
1 parent 668b0d8 commit b1170da
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions src/scss/06_components/navigation/_table-of-contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
}

// Add extra margin to long description and main image if table of contents is enabled.
.table-of-contents + .long-desc,
.table-of-contents + .main-image {
.table-of-contents + * {
@include component-margin-top;
}

Expand Down
1 change: 1 addition & 0 deletions src/scss/06_components/pages/_unit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@

.unit.unit--full .content-tags {
margin-bottom: $spacing-and-half;
margin-top: $spacing-and-half;

@include breakpoint($breakpoint-m) {
margin-bottom: $spacing-double;
Expand Down
4 changes: 2 additions & 2 deletions templates/module/helfi_tpr/tpr-unit.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@

{% embed "@hdbt/misc/lead-in.twig" with { content: content.description_summary } %}{% endembed %}

{{ content.toc_enabled }}

{{ supports_swedish }}

{{ content.toc_enabled }}

{# Main image #}
{% if content.picture_url_override|render %}
{% set main_image = content.picture_url_override %}
Expand Down

0 comments on commit b1170da

Please sign in to comment.