set a better minimum width and remove some unnecessary css

This commit is contained in:
Ell 2022-03-22 01:16:51 +01:00
parent 98e9496691
commit 8758299d99

10
main.ts
View file

@ -3,19 +3,11 @@ import { remote, webContents } from 'electron';
const viewName: string = "keep"; const viewName: string = "keep";
const defaultSettings: KeepSettings = { const defaultSettings: KeepSettings = {
minimumWidth: 360, minimumWidth: 370,
padding: 5, padding: 5,
css: `/* hide the menu bar and the "Keep" logo and text */ css: `/* hide the menu bar and the "Keep" logo and text */
.PvRhvb-qAWA2, .gb_2d.gb_Zc { .PvRhvb-qAWA2, .gb_2d.gb_Zc {
display: none !important; display: none !important;
}
/* remove the margin around each note so that less horizontal space is taken up */
.kPTQic-nUpftc.ma6Yeb-r8s4j-gkA7Yd.IZ65Hb-n0tgWb {
margin: 0px !important;
}
.kPTQic-nUpftc.h1U9Be-xhiy4 {
margin: 16px 0px 8px 0px !important;
}` }`
}; };