Skip to content

Commit

Permalink
fix default fill height
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Aug 1, 2022
1 parent 01bea09 commit 6d5255e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PureModalAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PureModalAction extends DatalessField
/**
* @var boolean
*/
protected $fillHeight = true;
protected $fillHeight = false;

public function __construct($name, $title)
{
Expand Down
2 changes: 1 addition & 1 deletion templates/LeKoala/PureModal/PureModalAction.ss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<input id="$ModalID" class="pure-checkbox no-change-track" type="checkbox">
<div class="pure-modal-overlay">
<div class="pure-modal-overlay-close"<% if getOverlayTriggersClose %> onclick="document.getElementById('$ModalID').checked=false;return false;"<% end_if %>></div>
<div class="pure-modal-wrap pure-modal-action<% if getFillHeight %> fill-height flex-fill<% end_if %>" style="max-height:90vh;">
<div class="pure-modal-wrap pure-modal-action<% if getFillHeight %> fill-height<% end_if %>" style="max-height:90vh;">
<label for="$ModalID" class="pure-modal-close"></label>
<div class="toolbar toolbar--north row">
<h1>$Title</h1>
Expand Down

0 comments on commit 6d5255e

Please sign in to comment.