Skip to content

IT: Slight indentation when a table is added to a docx #1160

@ant-light-house

Description

@ant-light-house

Description

I'm seeing a minor visual bug where a small bit of padding is added to a table when viewed in SuperDoc. This extra bit of padding doesn't appear when viewing in MS Word. More details below. Could this be caused by a misconfiguration on my end?

Example file used:

table-indentation.docx

Current Behavior

table-indentation.docx

When viewing the above document in SuperDoc, I see a slight bit of padding added to the left of the table inside the doc. See the screenshots below

In SuperDoc:

In MS Word:

Backspacing the Click here to enter text does not seem to get rid of this padding.

Expected Behavior

Like-for-like formatting between SuperDoc and MS Word.

Steps to Reproduce

  1. table-indentation.docx
  2. Load the attached document into SuperDoc
  3. Load the document in MS Word
  4. Observe the visual differences between the two viewers

SuperDoc Version

0.26.0

Browser & Version

Firefox 144.0 / Chrome 141.0.7390.108

OS

macOS 15.4.1

Additional Context

Screenshots and files are provided above.

tableindent2.docx

Checklist

  • Tested with latest version
  • Checked for duplicates
  • Added relevant labels

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions