mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
fix(client): dropdown width for horizontal layout
This commit is contained in:
parent
5f9439a9e0
commit
23873b72bf
@ -24,7 +24,6 @@ export default class LeftPaneToggleWidget extends CommandButtonWidget {
|
||||
if (isHorizontalLayout) {
|
||||
this.settings.titlePlacement = "bottom";
|
||||
}
|
||||
console.log(this.settings);
|
||||
}
|
||||
|
||||
refreshIcon() {
|
||||
|
@ -2,12 +2,6 @@ import BasicWidget from "../basic_widget.js";
|
||||
|
||||
const TPL = `
|
||||
<div class="dropdown right-dropdown-widget dropend">
|
||||
<style>
|
||||
.right-dropdown-widget {
|
||||
height: 53px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<button type="button" data-bs-toggle="dropdown"
|
||||
aria-haspopup="true" aria-expanded="false"
|
||||
class="bx right-dropdown-button launcher-button"></button>
|
||||
|
@ -1026,6 +1026,14 @@ li.dropdown-submenu:hover > ul.dropdown-menu {
|
||||
left: calc(-100% + 10px);
|
||||
}
|
||||
|
||||
#launcher-pane.horizontal .right-dropdown-widget {
|
||||
width: 53px;
|
||||
}
|
||||
|
||||
#launcher-pane.vertical .right-dropdown-widget {
|
||||
height: 53px;
|
||||
}
|
||||
|
||||
/* rotate caret on hover */
|
||||
.dropdown-menu > li > a:hover:after {
|
||||
text-decoration: underline;
|
||||
|
Loading…
x
Reference in New Issue
Block a user