Browse Source

increase max width, add view adw class

master
yggverse 2 months ago
parent
commit
ea0cf161db
  1. 6
      src/app/browser/window/tab/item/page/content/text/gemini/widget.rs

6
src/app/browser/window/tab/item/page/content/text/gemini/widget.rs

@ -10,7 +10,11 @@ impl Widget { @@ -10,7 +10,11 @@ impl Widget {
// Construct
pub fn new_arc(child: &TextView) -> Arc<Self> {
Arc::new(Self {
gobject: ClampScrollable::builder().child(child).build(),
gobject: ClampScrollable::builder()
.child(child)
.css_classes(["view"])
.maximum_size(840)
.build(),
})
}

Loading…
Cancel
Save