Skip to content

Conversation

@barjin
Copy link
Member

@barjin barjin commented May 31, 2024

According to the MDN docs, the @font-face { font-family } descriptor can only be a single string | custom ident.

Compare to font-family CSS property, which can be a priority list.

This discrepancy is causing the tagline in the subprojects to look like ass (fig. 1)

obrazek

@barjin barjin added the adhoc Ad-hoc unplanned task added during the sprint. label May 31, 2024
@barjin barjin requested review from B4nan and jbartadev May 31, 2024 13:34
@barjin barjin self-assigned this May 31, 2024
@github-actions github-actions bot added this to the 90th sprint - Tooling team milestone May 31, 2024
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label May 31, 2024
@barjin
Copy link
Member Author

barjin commented May 31, 2024

obrazek

obrazek

@barjin barjin merged commit 811127d into master May 31, 2024
@barjin barjin deleted the feat--split-@font-face-rules branch May 31, 2024 13:42
barjin added a commit that referenced this pull request May 31, 2024
The fix from #1037 worked way too well. This PR only applies the font to
the relevant `font-family`.


![obrazek](https://github.com/apify/apify-docs/assets/61918049/f3b08273-e096-4d29-aa89-9530b95f7aca)


(I actually kinda like the look of it, but it all probably shouldn't be
the same `font-weight`. I suppose the web team can deal with the design
question later).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants