Opened 4 years ago
Closed 4 years ago
#54317 closed defect (bug) (fixed)
Twenty Sixteen: Table block does not respect the alignment options
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.9 | Priority: | normal |
| Severity: | normal | Version: | 5.0 |
| Component: | Bundled Theme | Keywords: | has-patch commit |
| Focuses: | css | Cc: |
Description
I can see the alignment options(left/center/right) options are not being respected and they all default to left.
Attachments (3)
Change History (10)
#3
@
4 years ago
please set something for this:
text-align: center;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
#5
@
4 years ago
- Component changed from General to Bundled Theme
- Focuses css added
- Milestone changed from Awaiting Review to 5.9
- Version changed from 5.8.1 to 5.0
Thanks for the report and the patch!
I would prefer removing the special styles in block.css that currently override the alignment classes.
This still applies when a cell has no alignment specified:
caption,
th,
td {
font-weight: normal;
text-align: left;
}
(and in RTL languages, cell text is aligned right by default)
Note: See
TracTickets for help on using
tickets.
Sure! I've added an editor vs preview/published view.