Techiio-author
Started by Morrison OakOct 31, 2021

Open
Revision page Markdown diff uses a hardcoded font stack instead of a variable

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

In primary.css file, this should be var(--ff-mono) instead:

.full-diff .content {

font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;

}

I also determined some other hardcoded values at the same time as I used to be looking into this.

In primary.css:

monospace

sans-serif

Arial, Helvetica, sans-serif

In secondary.css:

Arial, "Helvetica Neue", Helvetica, sans-serif

I tried solving it within the stacks repo on github, however it does not come from there.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance