From 57e6834bd2b69e59c4fdb0748c52c4a97729ca7a Mon Sep 17 00:00:00 2001 From: atterpac <89053530+atterpac@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:49:17 -0800 Subject: [PATCH] NixOS font bug docs (#3268) add changelog Appeasing the rabbit remove v3 Co-authored-by: atterpac --- website/docs/guides/nixos-font.mdx | 10 ++++++++++ website/src/pages/changelog.mdx | 1 + 2 files changed, 11 insertions(+) create mode 100644 website/docs/guides/nixos-font.mdx diff --git a/website/docs/guides/nixos-font.mdx b/website/docs/guides/nixos-font.mdx new file mode 100644 index 000000000..141e4d68c --- /dev/null +++ b/website/docs/guides/nixos-font.mdx @@ -0,0 +1,10 @@ +# NixOS FontSize Bug + +NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell. + +```shell + shellHook = with pkgs; '' + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS; + export GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules/"; + ''; +``` diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx index b230d367a..2739f2637 100644 --- a/website/src/pages/changelog.mdx +++ b/website/src/pages/changelog.mdx @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Security` in case of vulnerabilities. ## [Unreleased] +- Added docs to help fix NixOs/Wayland font-size css issue. Added by @atterpac in [PR](https://github.com/wailsapp/wails/pull/3268) ## v2.8.0 - 2024-02-08