summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-28 17:54:42 +0300
committerVika <vika@fireburn.ru>2024-08-28 17:54:42 +0300
commit7718901fb8346a75bd203f04e4303d0df007dcd1 (patch)
tree720e7935bcfd7216fb4884bc9def280b4b5beda9 /src/main.rs
parent3ca8e690ed58f4267cc4ec132551d24a9a557e85 (diff)
Set global CSS instead of adding a style context to every widget
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
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::<bowl::App>(());
 }