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::{
|
||||
ButtonStory, CalendarStory, DropdownStory, IconStory, ImageStory, InputStory, ListStory,
|
||||
ModalStory, PopupStory, ProgressStory, ResizableStory, ScrollableStory, StoryContainer,
|
||||
SwitchStory, TableStory, TextStory, TooltipStory, WebViewStory,
|
||||
SwitchStory, TableStory, TextStory, TooltipStory,
|
||||
};
|
||||
use ui::{
|
||||
button::{Button, ButtonStyled as _},
|
||||
|
|
@ -228,7 +228,7 @@ impl StoryWorkspace {
|
|||
Arc::new(StoryContainer::panel::<CalendarStory>(cx)),
|
||||
Arc::new(StoryContainer::panel::<ResizableStory>(cx)),
|
||||
Arc::new(StoryContainer::panel::<ScrollableStory>(cx)),
|
||||
Arc::new(StoryContainer::panel::<WebViewStory>(cx)),
|
||||
// Arc::new(StoryContainer::panel::<WebViewStory>(cx)),
|
||||
],
|
||||
None,
|
||||
&dock_area,
|
||||
|
|
|
|||
|
|
@ -216,7 +216,6 @@ impl Render for DropdownStory {
|
|||
.child(
|
||||
h_flex()
|
||||
.w_full()
|
||||
.max_w(px(640.))
|
||||
.items_center()
|
||||
.gap_4()
|
||||
.child(self.country_dropdown.clone())
|
||||
|
|
|
|||
Loading…
Reference in a new issue