story: Fix story caes (#345)
- Remove WebView story. - Fix dropdown size.
This commit is contained in:
parent
3041d0020f
commit
2f4ee70f46
2 changed files with 2 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ use std::{sync::Arc, time::Duration};
|
||||||
use story::{
|
use story::{
|
||||||
ButtonStory, CalendarStory, DropdownStory, IconStory, ImageStory, InputStory, ListStory,
|
ButtonStory, CalendarStory, DropdownStory, IconStory, ImageStory, InputStory, ListStory,
|
||||||
ModalStory, PopupStory, ProgressStory, ResizableStory, ScrollableStory, StoryContainer,
|
ModalStory, PopupStory, ProgressStory, ResizableStory, ScrollableStory, StoryContainer,
|
||||||
SwitchStory, TableStory, TextStory, TooltipStory, WebViewStory,
|
SwitchStory, TableStory, TextStory, TooltipStory,
|
||||||
};
|
};
|
||||||
use ui::{
|
use ui::{
|
||||||
button::{Button, ButtonStyled as _},
|
button::{Button, ButtonStyled as _},
|
||||||
|
|
@ -228,7 +228,7 @@ impl StoryWorkspace {
|
||||||
Arc::new(StoryContainer::panel::<CalendarStory>(cx)),
|
Arc::new(StoryContainer::panel::<CalendarStory>(cx)),
|
||||||
Arc::new(StoryContainer::panel::<ResizableStory>(cx)),
|
Arc::new(StoryContainer::panel::<ResizableStory>(cx)),
|
||||||
Arc::new(StoryContainer::panel::<ScrollableStory>(cx)),
|
Arc::new(StoryContainer::panel::<ScrollableStory>(cx)),
|
||||||
Arc::new(StoryContainer::panel::<WebViewStory>(cx)),
|
// Arc::new(StoryContainer::panel::<WebViewStory>(cx)),
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
&dock_area,
|
&dock_area,
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,6 @@ impl Render for DropdownStory {
|
||||||
.child(
|
.child(
|
||||||
h_flex()
|
h_flex()
|
||||||
.w_full()
|
.w_full()
|
||||||
.max_w(px(640.))
|
|
||||||
.items_center()
|
.items_center()
|
||||||
.gap_4()
|
.gap_4()
|
||||||
.child(self.country_dropdown.clone())
|
.child(self.country_dropdown.clone())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue