mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header. Fixes #75
This commit is contained in:
parent
1c06c99047
commit
a5981e6fdd
13 changed files with 218 additions and 16 deletions
|
@ -44,8 +44,15 @@ menu = [
|
|||
# Default config, allows for https remote images and embedding YouTube and Vimeo content.
|
||||
# This configuration (along with the right webserver settings) gets an A+ in Mozilla's Observatory: https://observatory.mozilla.org
|
||||
allowed_domains = [
|
||||
{ directive = "font-src", domains = ["'self'", "data:"] },
|
||||
{ directive = "img-src", domains = ["'self'", "https://*", "data:"] },
|
||||
{ directive = "script-src", domains = ["'self'"] },
|
||||
{ directive = "style-src", domains = ["'self'"] },
|
||||
{ directive = "frame-src", domains = ["player.vimeo.com", "https://www.youtube-nocookie.com"] },
|
||||
]
|
||||
|
||||
# Custom subset of characters for the header.
|
||||
# If set to true, the `static/custom_subset.css` file will be loaded first.
|
||||
# This avoids a flashing text issue in Firefox.
|
||||
# Please see https://welpo.github.io/tabi/blog/custom-font-subset/ to learn how to create this file.
|
||||
custom_subset = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue