#61697 closed defect (bug) (fixed)
Twenty Thirteen: Code block does not adjust font size with block settings
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.7 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Bundled Theme | Keywords: | has-patch commit |
| Focuses: | css | Cc: |
Description
Hello Team,
I have reviewed "code" block on the twenty thirteen theme and found that the "typography" is not working when we trying to change.
Here, I have provided its video and screenshot:
I think that it should be change based on selection.
Thanks,
Attachments (4)
Change History (10)
@
16 months ago
inherits font size when code is inside pre element (the default is 14 pixels for each individual element)
#1
@
16 months ago
- Keywords dev-feedback removed
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Twenty Thirteen Theme: The code block typography is not working properly on editor & front end sides. to Twenty Thirteen: Code block does not adjust font size with block settings
Twenty Thirteen sets 14-pixel font size for both pre and code, so 61697.diff proposes inheriting when the code element is nested inside a pre tag.
That seems cleaner than editing the block-specific styles to inherit the block's size only when either its class or style attribute contains font-size.
Note: See
TracTickets for help on using
tickets.
Issue video: