mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-22 17:48:34 +01:00
set a better minimum width and remove some unnecessary css
This commit is contained in:
parent
98e9496691
commit
8758299d99
1 changed files with 1 additions and 9 deletions
10
main.ts
10
main.ts
|
@ -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;
|
|
||||||
}`
|
}`
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue