File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ app.on('ready', function () {
100100
101101 mainWindow = new BrowserWindow ( {
102102 show : false ,
103- minWidth : 1200 ,
103+ minWidth : 800 ,
104104 title : "Interactive Data Editor" ,
105105 icon : path . join ( __dirname , "figs/charts.png" ) ,
106106 webPreferences : {
@@ -178,9 +178,15 @@ const helpMenu = {
178178 click ( ) {
179179 var childWindow = new BrowserWindow ( {
180180 icon : path . join ( __dirname , 'figs/charts.png' ) ,
181- minWidth : 500 ,
182- maxWidth : 700 ,
181+ height :650 ,
183182 width :600 ,
183+ minWidth : 600 ,
184+ maxWidth : 700 ,
185+ minHeight :650 ,
186+ maxHeight :700 ,
187+ maximizable :false ,
188+ minimizable :false ,
189+ modal :true ,
184190 show :false ,
185191 title : "Interactive Data Editor - About" ,
186192 webPreferences : {
@@ -189,7 +195,6 @@ const helpMenu = {
189195 contextIsolation :false ,
190196 nativeWindowOpen :true
191197 } ,
192- height :650
193198 } ) ;
194199 childWindow . loadFile ( './src/html/about.html' )
195200 childWindow . setMenuBarVisibility ( false ) ;
Original file line number Diff line number Diff line change @@ -153,10 +153,8 @@ button:active {
153153
154154
155155.popup {
156- width : ' fit-content' ;
156+ width : fit-content;
157157 text-align : center;
158- width : fit-content;
159-
160158 height : fit-content;
161159 position : absolute;
162160 top : 200px ;
@@ -165,7 +163,7 @@ button:active {
165163 border : 1px solid black;
166164 box-shadow : 8px 8px 6px -6px black;
167165 transition : opacity 0.3s ;
168- visibility : hidden; * /
166+ /* visibility: hidden; */
169167 display : none;
170168 background : white;
171169}
You can’t perform that action at this time.
0 commit comments