Skip to content

Commit

Permalink
set appElement to fix ReactModal warning, and update heading
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Oct 9, 2024
1 parent 5ce3e0f commit e21bef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/landing/src/components/feature.updates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class FeatureUpdates extends Component<FeatureUpdatesProps, FeatureUpdate
contentLabel="Recent updates"
className="lui-splash-content lui-box-shadow"
overlayClassName="splash_overlay"
appElement={document.getElementById('main') || undefined}
>
<div className={clsx('lui-large-feature-notification', wrapperClass)}>
<div className="lui-feature-header">
Expand Down
2 changes: 1 addition & 1 deletion packages/landing/src/components/new-features/3d.map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const dismissedKey = 'DISMISSED_MODALS_2024_10_3d_map'; // Feature released vers
const recentUpdates = {
children: (
<>
<h5 className="RecentUpdatesHeading">Basemaps are now viewable in 3D!</h5>
<h2>Basemaps are now viewable in 3D!</h2>
<p>
To activate this function, click the mountains icon on the left-hand side then hold right-click to change your
viewpoint.
Expand Down

0 comments on commit e21bef1

Please sign in to comment.