nextcloud / nextcloud/notes

Rendered tables overflow and misalign in preview mode

Open
#939 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: EasyMDE
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Steps to reproduce

  1. Create a note with a table
  2. Add lots of Columns with content
Expected behaviour

The table should truncate, and be scrollable

Actual behaviour

Tablecontent moves outside the viewable space

Screenshots
||Name | Name|Name|Name|Name|Name|Name|Name|
|:---:|:---|:---|:---:|---:|---:|---:|---:|---:|
|1|2| 3 | 4 |5|6|Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong content|8|9|

image

Tables generally grow only to the right side. For smaller tables that might be fine, but when they grow bigger, they eventually misalign. This looks off, maybe we should always make tables a fixed with or at least center them,

Server

Please complete the following information.

  • Notes app version: 4.6.0

  • Nextcloud version: 25.0.1

  • Browser (incl. version): Firefox 107

  • OS: Kubuntu 22.04

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

Reproduce the issue in preview mode with the long Markdown table shown in the report, using the reported Notes, Nextcloud, Firefox, and Kubuntu versions where possible. Trace the preview table rendering and styling, then verify that wide tables remain within the viewable area, are horizontally scrollable, and no longer misalign.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.