nn пре 8 година
родитељ
комит
ba2cbe7ccb
2 измењених фајлова са 14 додато и 48 уклоњено
  1. 3 46
      resources/app/public/css/browser.css
  2. 11 2
      resources/app/start.js

+ 3 - 46
resources/app/public/css/browser.css

@@ -294,51 +294,6 @@ button.BrowwerAdd {
     background: #e8e8e8;
     margin: 5px 0;
 }
-/* .HistoryBody {
-    padding-right: 25px;
-}
-.BrowserHistory{
-    left: auto;
-    width: 60% !important;
-    padding: 0 20px;
-    margin: 0 auto;
-    box-shadow: rgb(202, 202, 202) 0px 0px 30px 5px !important;
-    border: 1px solid #e4e4e4 !important;
-    background-color: #fff !important;
-    z-index: 999 !important;
-}
-.BrowserHistoryTitle{
-    padding: 5px 0;
-    background-color: transparent !important;
-    color: #666 !important;
-    text-align: center;
-}
-.BrowserHistoryClose{
-    top: 9px !important;
-    right: 10px !important;
-}
-.history_body {
-    overflow: hidden;
-    width: 100%;
-    line-height: 20px;
-    margin: 3px 0 10px;
-    display: inline-flex;
-}
-.history_body span{
-    margin-right: 20px;
-}
-.history_body p {
-    max-width: 35%;
-    height: 20px;
-    margin-right: 20px;
-    text-overflow: ellipsis;
-    overflow: hidden;
-    line-height: 20px;
-} */
-
-
-
-
 /* new history */
 .BrowserHistoryTitle {
     padding: 5px 0;
@@ -347,7 +302,9 @@ button.BrowwerAdd {
     color: #676767;
 }
 .CampusInfoBrowserHistory {
-    height: 600px;
+    height: 100%;
+    min-height: 700px;
+    width: 100%;
     padding: 30px;
     color: #505050;
     font-size: 14px;

+ 11 - 2
resources/app/start.js

@@ -37,6 +37,7 @@ function createWindow() {
 
     BrowserHistory = new BrowserWindow({//历史记录
         width: 800, 
+        height:800,
         frame: false
     })
     BrowserHistory.loadURL(url.format({
@@ -52,6 +53,7 @@ function createWindow() {
         }
         BrowserHistory = new BrowserWindow({
             width: 800, 
+            height:800,
             frame: false
         })
         BrowserHistory.loadURL(url.format({
@@ -69,6 +71,7 @@ function createWindow() {
         BrowserHistory.hide();
         BrowserHistory = null
     });
+    BrowserHistory.webContents.openDevTools();
     BrowserHistory.on('closed', function () {
         BrowserHistory = null
     });
@@ -76,7 +79,10 @@ function createWindow() {
     BrowserFeedback = new BrowserWindow({//反馈
         width: 500, 
         height:400,
-        frame: false
+        frame: false,
+        resizable: false,
+        maximizable:false,
+        show:false
     })
     BrowserFeedback.loadURL(url.format({
         pathname: path.join(__dirname, 'feedback.html'),
@@ -92,7 +98,10 @@ function createWindow() {
         BrowserFeedback = new BrowserWindow({
             width: 500, 
             height:400,
-            frame: false
+            frame: false,
+            resizable: false,
+            maximizable:false,
+            show:false
         })
         BrowserFeedback.loadURL(url.format({
             pathname: path.join(__dirname, 'feedback.html'),