mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix split second file menu appearance
This commit is contained in:
parent
b9db46fecb
commit
d75b54bfb9
@ -1171,8 +1171,6 @@
|
||||
order: 8;
|
||||
}
|
||||
.cp-toolbar-file ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
> li { display: contents; }
|
||||
}
|
||||
.cp-toolbar-file li > a {
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user