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 {
// Construct // Construct
pub fn new_arc(child: &TextView) -> Arc<Self> { pub fn new_arc(child: &TextView) -> Arc<Self> {
Arc::new(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