Skip to content

Commit 9cf7eb2

Browse files
add properties style settings
1 parent 4a9e11d commit 9cf7eb2

3 files changed

Lines changed: 34 additions & 8 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "PLN",
3-
"version": "1.10.1",
3+
"version": "1.11.0",
44
"minAppVersion": "1.5.0",
55
"author": "PipeItToDevNull",
66
"authorUrl": "https://docs.dev0.sh"

theme.css

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,30 @@ settings:
423423
opacity: false
424424
format: hex
425425
default: '#88C0D0'
426+
-
427+
id: pln-head-props
428+
title: Properties modifications
429+
type: heading
430+
level: 2
431+
collapsed: true
432+
-
433+
id: hide-properties
434+
title: Hide properties in reading mode
435+
description: Hide the metadata properties box when in reading mode. Add 'hide-properties' as a class to any file to selectively apply this.
436+
type: class-toggle
437+
default: true
438+
-
439+
id: pln-props-heading
440+
title: Hide properties heading
441+
description: We know it is a properties box, you don't need to label it.
442+
type: class-toggle
443+
default: true
444+
-
445+
id: pln-props-list
446+
title: List 'list' properties
447+
description: Put every property on its own line instead of a long single line list.
448+
type: class-toggle
449+
default: true
426450
-
427451
id: pln-head-embd
428452
title: Embed modifications
@@ -579,12 +603,6 @@ settings:
579603
description: Hide the pop up that appears when clicking the search field
580604
type: class-toggle
581605
default: true
582-
-
583-
id: hide-properties
584-
title: Hide properties in reading mode
585-
description: Hide the metadata properties box when in reading mode
586-
type: class-toggle
587-
default: true
588606
-
589607
id: pln-head-co
590608
title: Callout modifications
@@ -954,6 +972,13 @@ body {
954972
.hide-properties {
955973
--metadata-display-reading: none;
956974
}
975+
.pln-props-heading .metadata-properties-heading {
976+
display: none;
977+
}
978+
979+
.pln-props-list .metadata-property-value .multi-select-container {
980+
display: block;
981+
}
957982

958983
/* macos fixes for hidden title */
959984
.mod-macos {

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"1.8.1": "1.4.5",
1818
"1.9.0": "1.4.16",
1919
"1.10.0": "1.5.0",
20-
"1.10.1": "1.5.0"
20+
"1.10.1": "1.5.0",
21+
"1.11.0": "1.5.0"
2122
}

0 commit comments

Comments
 (0)