stories: Get OverflowScrollStory to scroll again (#15982)

Thorsten Ball , Bennet , and Antonio created

This makes it at least scroll again, but it doesn't scroll down to the
last element yet. We haven't figured out why yet.


Release Notes:

- N/A

Co-authored-by: Bennet <bennet@zed.dev>
Co-authored-by: Antonio <antonio@zed.dev>

Change summary

crates/story/src/story.rs                       | 20 ++++++++----------
crates/storybook/src/stories/overflow_scroll.rs |  2 +
2 files changed, 11 insertions(+), 11 deletions(-)

Detailed changes

crates/story/src/story.rs 🔗

@@ -117,17 +117,15 @@ impl RenderOnce for StoryContainer {
 pub struct Story {}
 
 impl Story {
-    pub fn container() -> Div {
-        div().size_full().overflow_hidden().child(
-            div()
-                .id("story_container")
-                .overflow_y_scroll()
-                .w_full()
-                .min_h_full()
-                .flex()
-                .flex_col()
-                .bg(story_color().background),
-        )
+    pub fn container() -> gpui::Stateful<Div> {
+        div()
+            .id("story_container")
+            .overflow_y_scroll()
+            .w_full()
+            .min_h_full()
+            .flex()
+            .flex_col()
+            .bg(story_color().background)
     }
 
     // TODO: Move all stories to container2, then rename