Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit992b0ec

Browse files
casinXanatolystansler
authored andcommitted
fix(ui/platform): shared command page scroll fixed
1 parent6474a77 commit992b0ec

File tree

1 file changed

+38
-36
lines changed

1 file changed

+38
-36
lines changed

‎ui/packages/platform/src/components/IndexPage.js

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,44 +1100,46 @@ class IndexPage extends Component {
11001100
if(Urls.isSharedUrl()){
11011101
return(
11021102
<ThemeProvidertheme={theme}>
1103-
<AppBarposition='absolute'className={classes.appBar}>
1104-
<ToolbarclassName={classes.topToolbar}>
1105-
{appBarLogo}
1106-
{auth&&auth.token&&<Typography
1107-
color='inherit'
1108-
noWrap
1109-
className={classes.userName}
1110-
>
1111-
{userName}
1112-
</Typography>}
1113-
{auth&&auth.token ?(<NavLink
1114-
to={ROUTES.PROFILE.path}
1115-
className={classes.navIconArea}
1116-
>
1117-
<IconButton
1103+
<divclassName={classes.root}>
1104+
<AppBarposition='absolute'className={classes.appBar}>
1105+
<ToolbarclassName={classes.topToolbar}>
1106+
{appBarLogo}
1107+
{auth&&auth.token&&<Typography
11181108
color='inherit'
1119-
aria-label='Profile'
1120-
className={classes.navIconProfile}
1109+
noWrap
1110+
className={classes.userName}
11211111
>
1122-
{icons.userIcon}
1123-
</IconButton>
1124-
</NavLink>) :null}
1125-
{auth&&auth.token&&appBarSignOut}
1126-
</Toolbar>
1127-
</AppBar>
1128-
<ContentLayout>
1129-
<Switch>
1130-
<Route
1131-
path='/shared/:url_uuid'
1132-
render={(props)=>(
1133-
<SharedUrl
1134-
{...props}
1135-
/>
1136-
)}
1137-
/>
1138-
<Redirectfrom='*'to={ROUTES.ROOT.path}/>
1139-
</Switch>
1140-
</ContentLayout>
1112+
{userName}
1113+
</Typography>}
1114+
{auth&&auth.token ?(<NavLink
1115+
to={ROUTES.PROFILE.path}
1116+
className={classes.navIconArea}
1117+
>
1118+
<IconButton
1119+
color='inherit'
1120+
aria-label='Profile'
1121+
className={classes.navIconProfile}
1122+
>
1123+
{icons.userIcon}
1124+
</IconButton>
1125+
</NavLink>) :null}
1126+
{auth&&auth.token&&appBarSignOut}
1127+
</Toolbar>
1128+
</AppBar>
1129+
<ContentLayout>
1130+
<Switch>
1131+
<Route
1132+
path='/shared/:url_uuid'
1133+
render={(props)=>(
1134+
<SharedUrl
1135+
{...props}
1136+
/>
1137+
)}
1138+
/>
1139+
<Redirectfrom='*'to={ROUTES.ROOT.path}/>
1140+
</Switch>
1141+
</ContentLayout>
1142+
</div>
11411143
</ThemeProvider>
11421144
);
11431145
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp