diff --git a/data/resources/style.css b/data/resources/style.css index 43f83b24..85926f26 100644 --- a/data/resources/style.css +++ b/data/resources/style.css @@ -9,6 +9,10 @@ textview, text { font-weight: bold; } +.line-height { + line-height: 150%; +} + button.pill.large { padding: 12px 40px; } diff --git a/src/components/label_with_widgets.rs b/src/components/label_with_widgets.rs index aa889388..b13dd95e 100644 --- a/src/components/label_with_widgets.rs +++ b/src/components/label_with_widgets.rs @@ -96,6 +96,7 @@ mod imp { label.set_wrap_mode(pango::WrapMode::WordChar); label.set_xalign(0.0); label.set_valign(gtk::Align::Start); + label.add_css_class("line-height"); label.connect_notify_local( Some("label"), clone!(@weak obj => move |_, _| {