Skip to content

Commit

Permalink
fix(platform): fix page setting style
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN committed Dec 20, 2022
1 parent c8289cb commit b01a3d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/platform/src/modules/project/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const Settings = () => {
return (
<Stack horizontal>
<SecondaryNav groups={navGroups} selectedKey={settingName} onLinkClick={onLinkClick} />
<Stack.Item grow>
<Stack.Item grow styles={{ root: { overflow: 'hidden' } }}>
<ContentCard>{content}</ContentCard>
</Stack.Item>
</Stack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export const SettingsPages = () => {
const competitorList: PageSchema[] = []
const pageList: PageSchema[] = []
pages.forEach((p) => {
if (p.isCompetitor) {
competitorList.push(p)
} else if (p.isTemp) {
if (p.isTemp) {
tempList.push(p)
} else if (p.isCompetitor) {
competitorList.push(p)
} else {
pageList.push(p)
}
Expand Down

0 comments on commit b01a3d0

Please sign in to comment.