Skip to content

Commit

Permalink
use auto instead and its working fine
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Andrés <[email protected]>
  • Loading branch information
DiegoAndresCortes authored and MissAllSunday committed Jul 25, 2020
1 parent 53bf56b commit 3b21c5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Themes/default/css/jquery.sceditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ div.sceditor-grip {
background-clip: padding-box;
min-width: 100%;
max-width: 100%;
min-height: 307px;
min-height: 332px;
}
.sceditor-container *,
.sceditor-container *::before,
Expand Down Expand Up @@ -210,10 +210,10 @@ div.sceditor-dropdown div {
resize: none;
background: #fff;
display: flex;
flex-basis: 150px;
flex-basis: auto;
min-width: 100%;
max-width: 100%;
height: auto !important;
height: 100%;
min-height: 1px;
}
.sceditor-container iframe {
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/scripts/jquery.sceditor.smf.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
* Only resize the text areas instead.
*/
document.querySelector(".sceditor-container").removeAttribute("style");
document.querySelector(".sceditor-container textarea").style.flexBasis = options.height;
document.querySelector(".sceditor-container textarea").style.minHeight = options.height;

isPatched = true;
}
Expand Down

0 comments on commit 3b21c5e

Please sign in to comment.