logseq / logseq/logseq

Should set max-width 100% on image even if width is set

Open
#3,514 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:type/enhancement editor
Dominant language
Clojure
Stars
45k
Forks
2.8k
Avg merge
1d 22h
Merged PRs (30d)
105

Description

**Describe the bug**

Images will be cropped if the width is set and the window size is small

**To Reproduce**

1. set the image width
2. resize the windows to smaller than the image

**Expected behavior**

The images are never cropped, regardless of the window width.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file or test. Reproduce the problem by setting an image width and resizing the window below the image width, then locate the frontend image styling and verify that images are no longer cropped at narrower window sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.