Fix split second file menu appearance

This commit is contained in:
DianaXWiki 2025-09-05 17:10:22 +03:00
parent b9db46fecb
commit d75b54bfb9
2 changed files with 2 additions and 3 deletions

View File

@ -1171,8 +1171,6 @@
order: 8;
}
.cp-toolbar-file ul {
display: flex;
flex-direction: column;
> li { display: contents; }
}
.cp-toolbar-file li > a {

View File

@ -1790,7 +1790,8 @@ define([
var topPos = button.bottom;
$button.attr('aria-expanded', 'true');
$innerblock.css('bottom', '');
$innerblock.show();
$innerblock.css('display', 'flex'); // for the css order rules to apply
$innerblock.css('flex-direction', 'column');
if ($parentMenu) {
// keep parent open when recursive
$parentMenu.show();