Skip to content

VPN Resource Center styling difference between new Wagtail and old Contentful versions #16956

@stevejalim

Description

@stevejalim

While porting over the last of the VPNRC content, I noticed that the CSS for the Wagtail version looks slightly different from the Contentful version - there's more spacing around h2 and h3:

Legacy contentful-based page (with correct spacing)

Image

Wagtail-powered page (with excess spacing)

Image

How to repro locally for dev

  1. Pull a santiised production DB export with AWS_DB_S3_BUCKET=bedrock-db-prod make preflight
  2. Start your local runserver
  3. Go to http://localhost:8000/ru/products/vpn/resource-center/what-is-an-ip-address/

Then, because Staging and Dev are still (for now) showing the legacy content, they work as a good frame of reference
4. Compare with: https://www.allizom.org/ru/products/vpn/resource-center/what-is-an-ip-address/

Metadata

Metadata

Labels

FrontendHTML, CSS, JS... client side stuff

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions