Skip to content

Commit

Permalink
fix: fix modal demo page zIndex lower than header
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Jul 10, 2024
1 parent 5a8ac8b commit bc71078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const AppLayout = ({ type, location, children }) => {
<IntlProvider locale={locale} messages={messages}>
<LocaleProvider locale={semiLocaleSource}>
{
!isIde && (<div style={{ position: 'fixed', width: '100%', top: 0, zIndex: 1001 }}>
!isIde && (<div style={{ position: 'fixed', width: '100%', top: 0 }}>
<div className="skip-to-content">
<div>{locale === "zh-CN" ? '跳转到:' : 'skip to:'}</div>
<ol>
Expand Down

0 comments on commit bc71078

Please sign in to comment.