Problem/Motivation

This styling was originally introduced in #563390: Seven theme lacks formatting on common html elements such as lists, paragraphs & <code> + #634218: Seven theme: CODE elements are too small when the base font size of Seven was smaller. This styling now makes the text elements oversized:

Proposed resolution

If we remove this styling then the text is the regular base size:

Remaining tasks

Create patch
Review

User interface changes

Code/pre/kbd tags now match base font size.

API changes

None

Data model changes

None

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task because coding standards
Issue priority Not critical because coding standards
Unfrozen changes Unfrozen because it only changes CSS

Comments

LewisNyman created an issue. See original summary.

sixzeronine’s picture

Assigned: Unassigned » sixzeronine
sixzeronine’s picture

Assigned: sixzeronine » Unassigned
jaxxed’s picture

Assigned: Unassigned » jaxxed
jaxxed’s picture

Status: Active » Needs review
StatusFileSize
new374 bytes

Removed the font-size declaration in the seven theme, for the text elements.

no screenshot attached, as it was a quick patch, and the declaration shown in the screenshot was easy to find.

bruvers’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. With this patch normalize.css kicks in and sets code, kbd, pre { font-size: 1em; }. The font-size of all three elements now is the same as the base font size.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 87f510f and pushed to 8.0.x. Thanks!

  • alexpott committed 87f510f on 8.0.x
    Issue #2564421 by jaxxed, LewisNyman: Remove the font-size increase for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.