From bcf8045b2be01bd529db6f67d8f2a2d190a0438b Mon Sep 17 00:00:00 2001 From: polybjorn Date: Mon, 11 May 2026 19:13:57 +0000 Subject: [PATCH] fix(theme): inherit font-family on form controls (#8816) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Browsers don't inherit font-family on button, input, select, textarea by default, so the rule on html, body in frss.css didn't reach the "Mark as read" button or the search input. Add an inherit rule so all themes extending base-theme pick up their configured font. Reported and tested by @JerryCrazy. Fixes FreshRSS/FreshRSS#8803 Co-authored-by: Bjørn A. Andersen --- p/themes/base-theme/frss.css | 4 ++++ p/themes/base-theme/frss.rtl.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 63d871298..31ef6bbc4 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -64,6 +64,10 @@ html, body { font-size: 100%; } +button, input, select, textarea { + font-family: inherit; +} + main#stream { container-type: inline-size; container-name: main; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 134754b4b..4f146fa70 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -64,6 +64,10 @@ html, body { font-size: 100%; } +button, input, select, textarea { + font-family: inherit; +} + main#stream { container-type: inline-size; container-name: main;