From f8c7e1c85e2d6f68fc4ebc51cfaebc821e9c384c Mon Sep 17 00:00:00 2001 From: Rob Chiocchio Date: Sat, 17 Nov 2018 00:55:42 -0500 Subject: [PATCH] Fixed toolbar overlapping first line of text also added electron-packager support back for easy distribution --- app/scripts/editor.js | 3 ++- app/styles/index.css | 2 +- package.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/scripts/editor.js b/app/scripts/editor.js index 7307e97..fe908df 100644 --- a/app/scripts/editor.js +++ b/app/scripts/editor.js @@ -3,7 +3,8 @@ const writePath = require("os").homedir() + '/Documents/skribo.txt'; var quill = new Quill('#editor', { modules: { - syntax: false + syntax: false, + toolbar: null }, formats: { bold: true, diff --git a/app/styles/index.css b/app/styles/index.css index 789f5e5..c1fa8e6 100644 --- a/app/styles/index.css +++ b/app/styles/index.css @@ -30,7 +30,7 @@ body { #titlebar { -webkit-user-select: none; -webkit-app-region: drag; - height: 32px; + height: 16px; padding: 0px; margin: 0px; overflow: hidden; diff --git a/package.json b/package.json index 2ceac5b..736a86a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "skribo", "main": "main.js", "scripts": { - "start": "electron ." + "start": "electron .", + "package": "electron-packager ." }, "build": { "appId": "io.robch.skribo"