Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is Padding Added to Shared Notes? #85

Open
beforedo opened this issue Feb 28, 2024 · 0 comments
Open

Why is Padding Added to Shared Notes? #85

beforedo opened this issue Feb 28, 2024 · 0 comments
Labels
display issue My note doesn't display correctly

Comments

@beforedo
Copy link

For some reason, when the 'Style Settings' plugin is enabled, and then I upload the shared note, it adds 64px of padding to the top, bottom, left, and right. However, in the app, in reading and editing view, there is no such padding. When I disable the 'Style Settings' plugin, the padding goes away.

After inspecting the page, I narrowed it down to the following CSS Code. In the inspector, when I change the 'file-margins' to 0px, the padding goes away. However, this change is only in the inspector, not permanent. How would I make the necessary changes so that the file uploads to automatically have a file-margin of 0px? My suspicion is it has something to do with how the 'Share Note' plugin interacts with the 'Style Settings' plugin. Would I have to add a Snippet? Any help appreciated!

Here is the actual property in the Shared Note CSS file:

body.css-settings-manager {
--cornell-cue-column-width-readable-line: 200px;
--cornell-cue-column-width: 200px;
--cornell-summary-callout-top-height: 200px;
--cornell-summary-callout-max-height: 200px;
--cornell-cue-callout-width: 208px;
--cornell-cue-callout-width-readable-line: 208px;
--file-margins: 64px
}

@beforedo beforedo added the display issue My note doesn't display correctly label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display issue My note doesn't display correctly
Projects
None yet
Development

No branches or pull requests

1 participant