MacDownApp / MacDownApp/macdown

Limit preview width to the editor width, if that is limited

Open
#284 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Your solution to #108 is very nice looking. The new issue that arrises from this is, that the preview width is not optionally limited to ensure that everything is balanced visually. This probably has to be done by dynamically changing the theme CSS. It is this, which is the source of the inset of the content in the WebView.

Does anyone have any ideas for how to achieve this in a way that is not ugly and a maintenance hazard?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the implementation from issue #108 and the theme CSS/WebView behavior that controls the content inset. Determine how a constrained editor width should limit the preview while avoiding a maintenance hazard; the issue needs a concrete design and acceptance criteria before implementation can be considered done.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, objective-c
Domain
desktop, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.