This commit is contained in:
zadam 2021-06-26 13:35:36 +02:00
parent 1b9c3b0759
commit 962d5a5674
3 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -101,6 +101,7 @@ const TAB_ROW_TPL = `
-webkit-app-region: drag; -webkit-app-region: drag;
position: absolute; position: absolute;
left: 0; left: 0;
height: 100%;
} }
.tab-row-widget .note-tab[active] { .tab-row-widget .note-tab[active] {

View File

@ -7,15 +7,14 @@ const TPL = `
<style> <style>
.title-bar-buttons { .title-bar-buttons {
margin-top: 4px; margin-top: 4px;
margin-right: 4px;
flex-shrink: 0; flex-shrink: 0;
} }
.title-bar-buttons button { .title-bar-buttons button.icon-action {
border: none !important; border: none !important;
background: none !important; background: none !important;
font-size: 150%; font-size: 150%;
padding-left: 10px;
padding-right: 10px;
} }
.title-bar-buttons button:hover { .title-bar-buttons button:hover {
@ -35,6 +34,7 @@ export default class TitleBarButtonsWidget extends BasicWidget {
} }
this.$widget = $(TPL); this.$widget = $(TPL);
this.contentSized();
const $minimizeBtn = this.$widget.find(".minimize-btn"); const $minimizeBtn = this.$widget.find(".minimize-btn");
const $maximizeBtn = this.$widget.find(".maximize-btn"); const $maximizeBtn = this.$widget.find(".maximize-btn");