Skip to content

Commit

Permalink
Fix accordion section animation smoothness (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Oct 3, 2022
1 parent 4a4c883 commit 9c19eff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/JsFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class JsFunction implements JsExpressionable
/** @var bool add stopPropagation(event) to generated method */
public $stopPropagation = false;

/** @var string */
/** @var string Indent of target code (not one indent level) */
public $indent = ' ';

public function __construct(array $args = [], array $statements = null)
Expand Down
2 changes: 1 addition & 1 deletion template/accordion-section.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div class="title" id="{$_id}"><i class="{$icon} icon"></i>{title}Title{/}</div>
<div class="content ui basic segment" data-path="{$path}" style="min-height: 60px">
<div class="content ui basic segment" data-path="{$path}">
<div id="{$itemId}">{$Content}</div>
</div>
2 changes: 1 addition & 1 deletion template/accordion-section.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
div(id="{$_id}" class="title")
i(class="{$icon} icon")
| {title}Title{/}
div(class="content ui basic segment", data-path="{$path}", style="min-height: 60px")
div(class="content ui basic segment", data-path="{$path}")
div(id="{$itemId}")
| {$Content}
= "\n"

0 comments on commit 9c19eff

Please sign in to comment.