Skip to content

Commit

Permalink
Fix the list layout in requirements after ROOS update
Browse files Browse the repository at this point in the history
  • Loading branch information
uittenbroekrobbert committed Nov 14, 2024
1 parent 116ef9e commit 7f1ad83
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions amt/site/static/scss/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -308,3 +308,15 @@ main {
display: flex;
justify-content: space-between;
}

.amt-theme {
/* this is a placeholder class, do not remove */
}

/* we override the default ROOS style because we want to display as column, not rows */
/* stylelint-disable selector-class-pattern */
.amt-theme .rvo-accordion__item > .rvo-accordion__item-summary {
align-items: initial;
flex-direction: column;
}
/* stylelint-enable */
2 changes: 1 addition & 1 deletion amt/site/templates/layouts/base.html.j2.webpack
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{% endblock %}
</head>

<body hx-ext="response-targets" class="rvo-theme">
<body hx-ext="response-targets" class="rvo-theme amt-theme">
{% block header %}
{% include 'parts/header.html.j2' %}
{% endblock %}
Expand Down

0 comments on commit 7f1ad83

Please sign in to comment.