WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 4 months ago

#46258 closed defect (bug) (invalid)

Table CSS issue with Twenty Seventeen theme

Reported by: iamjaydip Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0.3
Component: Bundled Theme Keywords: has-screenshots close
Focuses: Cc:

Description

With Twenty Seventeen theme when i add Table block in editor, CSS doesn't work properly in backend and frontend. Please find attachment for more information.

Attachments (5)

46258.diff (1.2 KB) - added by iamjaydip 5 months ago.
backend-table.png (94.8 KB) - added by iamjaydip 5 months ago.
frontend-table.png (22.9 KB) - added by iamjaydip 5 months ago.
twenty-seventeen-table-blocks.png (27.9 KB) - added by laurelfulford 5 months ago.
Twenty Seventeen - Table block and regular table in classic block
46258-tables.PNG (43.2 KB) - added by ianbelanger 4 months ago.
Showing that the table block and classic block tables are the same

Download all attachments as: .zip

Change History (8)

@iamjaydip
5 months ago

@laurelfulford
5 months ago

Twenty Seventeen - Table block and regular table in classic block

#1 @laurelfulford
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the report, @iamjaydip!

In Twenty Seventeen, the table block is styled to match how regular tables were styled to look when added from the classic editor. I've attached a screenshot of both above, to compare.

I'm going to close this as it's working as expected, but please let me know if I've misunderstood, or if you have any questions at all. Thanks!

#2 @iamjaydip
5 months ago

  • Keywords ui-feedback added
  • Resolution invalid deleted
  • Status changed from closed to reopened

Hi @laurelfulford,

Yes you are right for when we use classic editor, but in gutenberg editor we had face this problem of table cell. e.g. when we added 3 column and row then it will showing only horizontal line.

@ianbelanger
4 months ago

Showing that the table block and classic block tables are the same

#3 @ianbelanger
4 months ago

  • Keywords close added; has-patch ui-feedback removed
  • Resolution set to invalid
  • Status changed from reopened to closed

Hi @iamjaydip,

I just tested tables in Twenty Seventeen with both the block editor and the classic editor. What you are seeing is the intended style of tables in this theme. Columns and rows do not have any vertical borders.

See screenshot above

You could add them using the Custom CSS editor in the customizer if you need them. However, @laurelfulford was correct to set this ticket to invalid and close it. If you still think that we are misunderstanding you, please elaborate. Thanks

Note: See TracTickets for help on using tickets.