Skip to content

Commit

Permalink
FIX: never collapse if not collapsible (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot committed Sep 14, 2023
1 parent 918f225 commit 7194a29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion javascripts/discourse/components/versatile-banner.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
</div>
<div
id="banner-content_wrap"
class={{if this.bannerCollapsed "--banner-collapsed"}}
class={{if
(and (theme-setting "collapsible") this.bannerCollapsed)
"--banner-collapsed"
}}
>
<div class="row">
{{#each this.columnData as |data|}}
Expand Down

0 comments on commit 7194a29

Please sign in to comment.