]> Repos - mime-chat/commitdiff
Removed cursor hover pointer for simplicity, added set account via ENV
authorAndrew Gundersen <gundersena@crimata.com>
Wed, 18 May 2022 15:07:13 +0000 (10:07 -0500)
committerAndrew Gundersen <gundersena@crimata.com>
Wed, 18 May 2022 15:07:13 +0000 (10:07 -0500)
src/account.js
src/render/main.css

index e339db25ee81d256678f1b0e41b7b1b77a14a5f6..f6ad73eecefa5f042b730be0d61093db140cda82 100644 (file)
@@ -5,6 +5,8 @@ const store = require("./utils/store");
 const { launchSession, endSession } = require("./session");
 const { backgroundMitt, ipcEmit } = require("./utils/emitter");
 
+store.set("account", process.env.ACCOUNT);
+
 async function auth(_e, creds) 
 {
     const { error, data } = await post("/auth", creds);
index bf8e0880bb2d26aa1e9a3bb5fa9e440ddde01979..2118c63d2c37db499d506224500265adc98d9c14 100644 (file)
@@ -230,7 +230,6 @@ html, body {
   border-radius: 50%;
   /* Set opacity here to not affect child. */
   background-color: rgba(235, 235, 235, 0.75);
-  cursor: pointer;
   box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
 }
 
@@ -297,10 +296,8 @@ html, body {
   margin-top: 19px;
   z-index: 2;
   background-color: Transparent;
-}
-
-.settings-icon:hover {
-  cursor: pointer;
+  /* Needed for Linux */
+  -webkit-app-region: no-drag;
 }
 
 .settings-account {
@@ -317,10 +314,6 @@ html, body {
   font-size: 14px;
 }
 
-.settings-logout-button:hover {
-  cursor: pointer;
-}
-
 .settings-version {
   position: absolute;
   left: 50%;