You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the last release a css rule has been set to !important and it just broke the possibility to offer manual resizing to users through the resize css rule : since the resize functionality is working by assigning on the fly the height on the element itself, without using the !important flag, it's not possible to override the rule coming from the jQuery terminal.
Expected behavior
When the terminal is embedded in a page, adding a resize css rule to it should work, like it did in previous versions.
Actual behavior
The height of the terminal is locked and only its content (number of lines) is making the terminal's height change.
Capture.video.du.07-09-2024.22.48.50.webm
(you won't see my mouse, but you'll see the height value changing on the element when I try to resize it manually)
The comment above the rule suggests it will apply only when some variables are defined (btw, --cols doesn't appear in that rule), but it's not the case: I don't have a --rows variable defined, but it still applies and is forcing the terminal to resize depending on the number of lines of the content (without limits => none of the other calculations are applying anymore)
Can we get the !important removed, please?
Cheers
The text was updated successfully, but these errors were encountered:
Hello,
Issue summary
In the last release a css rule has been set to
!important
and it just broke the possibility to offer manual resizing to users through theresize
css rule : since theresize
functionality is working by assigning on the fly the height on the element itself, without using the!important
flag, it's not possible to override the rule coming from the jQuery terminal.Expected behavior
When the terminal is embedded in a page, adding a
resize
css rule to it should work, like it did in previous versions.Actual behavior
The height of the terminal is locked and only its content (number of lines) is making the terminal's height change.
Capture.video.du.07-09-2024.22.48.50.webm
(you won't see my mouse, but you'll see the height value changing on the element when I try to resize it manually)
Additional notes
The problematic rule is this one css/jquery.terminal.css, line 843 (the change got published today, apparently) :
The comment above the rule suggests it will apply only when some variables are defined (btw,
--cols
doesn't appear in that rule), but it's not the case: I don't have a--rows
variable defined, but it still applies and is forcing the terminal to resize depending on the number of lines of the content (without limits => none of the other calculations are applying anymore)Can we get the
!important
removed, please?Cheers
The text was updated successfully, but these errors were encountered: