Switch to border-box as default box-model (box-sizing)

Created on 11 January 2021, over 3 years ago
Updated 14 December 2023, 6 months ago

Problem/Motivation

Claro uses the default box-model "content-box", what causes unnecessary calculations for width and height (+ min-* & max-*) attributes.

Proposed resolution

Use "border-box" as described here: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-be...

I think border-box still is the de facto standard / best-practise since years, so i don't know why content-box is used in Claro?

📌 Task
Status

Closed: works as designed

Version

11.0 🔥

Component
Claro 

Last updated 1 day ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024