Remove top padding from shell, move down into individual screens (#5548)
This commit is contained in:
@@ -7,6 +7,7 @@ import {CenteredView} from '#/view/com/util/Views'
|
||||
import {ListContained} from '#/view/screens/Storybook/ListContained'
|
||||
import {atoms as a, ThemeProvider, useTheme} from '#/alf'
|
||||
import {Button, ButtonText} from '#/components/Button'
|
||||
import * as Layout from '#/components/Layout'
|
||||
import {Admonitions} from './Admonitions'
|
||||
import {Breakpoints} from './Breakpoints'
|
||||
import {Buttons} from './Buttons'
|
||||
@@ -21,12 +22,16 @@ import {Theming} from './Theming'
|
||||
import {Typography} from './Typography'
|
||||
|
||||
export function Storybook() {
|
||||
if (isWeb) return <StorybookInner />
|
||||
|
||||
return (
|
||||
<ScrollView>
|
||||
<StorybookInner />
|
||||
</ScrollView>
|
||||
<Layout.Screen>
|
||||
{isWeb ? (
|
||||
<StorybookInner />
|
||||
) : (
|
||||
<ScrollView>
|
||||
<StorybookInner />
|
||||
</ScrollView>
|
||||
)}
|
||||
</Layout.Screen>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user