argyleink / argyleink/open-props
width: fit-content for tables is hard to override or customize
- Dominant language
- HTML
- Stars
- 5.5k
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
I'm having trouble with this style:
https://github.com/argyleink/open-props/blob/59bb7e5399df56f8b1a666e0d9fb2e5f7521ab30/src/extra/normalize.src.css#L298-L299
It makes my table much narrower than without this style, and I can't figure out how to override it to get the default table layout. What's the right way to effectively cancel this rule? I've tried `table { width: initial !important }` but no luck.
This changed in https://github.com/argyleink/open-props/pull/394.
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect src/extra/normalize.src.css at lines 298-299 and review the linked change from pull request 394. Reproduce the table sizing behavior, then determine whether the rule should be adjusted or documented so users can restore the default table layout; done means the override path is clear and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100