Skip to content

Commit ce5c507

Browse files
authored
Merge pull request #39 from james-xli/feature/note-max-width
Max image width bugfix: Add margin around page containers
2 parents f853d0a + 0c64be7 commit ce5c507

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ Thank you to [Tiemen Schuijbroek](https://gitlab.com/Tiemen/supernote) for devel
5353

5454
**A** Because the [Obsidian Outline](https://help.obsidian.md/Plugins/Outline) sidebar accomplishes this same feature.
5555

56-
**Q** Can the images be larger or smaller?
57-
58-
**A** Add a number, in pixels, after a `|` in the link like `![[20240419_100426-0.png|100]]`. [See Obsidian docs](https://help.obsidian.md/Linking+notes+and+files/Embed+files#Embed+an+image+in+a+note). Also, you can use the mouse wheel zoom plugin suggested below to make this easier.
59-
6056
## Other Helpful Plugins
6157

6258
These are not endorsements but might be useful to pair with this plugin.

styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ button.mod-cta {
2121
.page-recognized-text {
2222
user-select: text;
2323
white-space: pre-line;
24-
margin-top: 1.2em;
24+
margin: 1.2em 0;
2525
}
2626

2727
div.page-container {
2828
display: inline-block;
2929
vertical-align: top;
30+
margin: 1.2em;
3031
}

0 commit comments

Comments
 (0)