From 7718901fb8346a75bd203f04e4303d0df007dcd1 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 28 Aug 2024 17:54:42 +0300 Subject: Set global CSS instead of adding a style context to every widget --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 11963b0..d906a66 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,6 +10,10 @@ fn main() { relm4_icons::initialize_icons(); let app = relm4::RelmApp::new(bowl::APPLICATION_ID); + relm4::set_global_css(".tag-pill button { + min-height: 30px; + min-width: 30px; +}"); app.run_async::(()); } -- cgit 1.4.1