Skip to content

Add quicklook-toolbar-inset for breathing#132

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Jun 8, 2026
Merged

Add quicklook-toolbar-inset for breathing#132
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tweaks the Quick Look preview layout by introducing a configurable toolbar “breathing” inset, so content doesn’t sit flush against the toolbar area. It updates both the source CSS and the committed distribution bundles to reflect the new spacing behavior.

Changes:

  • Add --quicklook-toolbar-inset and incorporate it into the Quick Look content’s top offset math.
  • Adjust margin-top / min-height calculations to account for the inset.
  • Regenerate/update dist/ and dist/lite/ bundles with the new CSS.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

File Description
styles/quicklook.css Introduces --quicklook-toolbar-inset and updates toolbar clearance layout calculations.
dist/markedit-preview.js Updates the shipped full build bundle to include the new Quick Look CSS behavior.
dist/lite/markedit-preview.js Updates the shipped lite build bundle to include the new Quick Look CSS behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread styles/quicklook.css Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

Comment thread styles/quicklook.css Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

Comment thread styles/quicklook.css Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 3 changed files in this pull request and generated no new comments.

@cyanzhong cyanzhong merged commit ac6fdb0 into main Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants