diff --git a/api/etemplate.php b/api/etemplate.php
index c5dd4ac56a..146577705f 100644
--- a/api/etemplate.php
+++ b/api/etemplate.php
@@ -67,6 +67,9 @@ function send_template()
// fix --> (et2-prefix and self-closing is handled below)
$str = preg_replace('##u', '', $str);
+ // fix -->
+ $str = preg_replace('##u', '', $str);
+
$str = preg_replace_callback(ADD_ET2_PREFIX_REGEXP, static function (array $matches)
{
return '<' . $matches[2] . 'et2-' . $matches[3] .
@@ -120,4 +123,4 @@ function send_template()
echo $str;
exit; // stop further processing eg. redirect to login
-}
\ No newline at end of file
+}
diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css
index 2530ce881f..548d41eccf 100644
--- a/api/templates/default/etemplate2.css
+++ b/api/templates/default/etemplate2.css
@@ -315,6 +315,9 @@ button.et2_button_with_image {
button.et2_button_with_image.et2_button_text {
background-position: 4px center;
}
+button.et2_buttonFitContent, et2-button.et2_buttonFitContent {
+ max-width: fit-content;
+}
/* et2_box_widget ###*/
button[id="cancel"],
button#cancel {
@@ -3370,4 +3373,4 @@ span.et2_countdown_seconds {
}
.et2_audio audio {
outline: none;
-}
\ No newline at end of file
+}
diff --git a/filemanager/templates/default/admin.xet b/filemanager/templates/default/admin.xet
index 56a4e6f9e1..b55c9c0b23 100644
--- a/filemanager/templates/default/admin.xet
+++ b/filemanager/templates/default/admin.xet
@@ -85,10 +85,8 @@
-
-
-
-
+
+