#61697 closed defect (bug) (fixed)
Twenty Thirteen: Code block does not adjust font size with block settings
| Reported by: | viralsampat | Owned by: | karmatosed |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.7 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | css |
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)
@
2 years ago
inherits font size when code is inside pre element (the default is 14 pixels for each individual element)
#1
@
2 years ago
- Keywords dev-feedback removed
- Milestone Awaiting Review → Future Release
- Summary Twenty Thirteen Theme: The code block typography is not working properly on editor & front end sides. → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Issue video: