Skip to content

Commit bf3b862

Browse files
mosaleh-devMohamed
and
Mohamed
authoredJan 11, 2024
website: update website. (#614)
Issue: The visibility of the BackToUp component was affected by the stacking order on the homepage. Solution: Reordered the placement of the BackToUp component to make it visible element on the page without adjusting z-index property, resolving the visibility issue. This change enhances the user experience by ensuring the BackToUp button is prominently displayed. This is my first open-source contribution, and I'm open to feedback. Please review, and let me know if there are any additional adjustments required. Thank you! Co-authored-by: Mohamed <mosaleh@mail.com>
1 parent 5d7a372 commit bf3b862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎www/src/pages/home/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ export function Component() {
142142
const version = VERSION;
143143
return (
144144
<div className="wmde-markdown-var">
145-
<BackToUp>Top</BackToUp>
146145
<dark-mode permanent dark="Dark" light="Light" style={{ position: 'fixed', top: 8, left: 8, zIndex: 99 }} />
147146
<GitHubCorners fixed target="__blank" zIndex={10} href="https://github.com/uiwjs/react-codemirror" />
148147
<AppHeader>
@@ -187,6 +186,7 @@ export function Component() {
187186
href="https://www.npmjs.com/package/@uiw/react-codemirror"
188187
/>
189188
</Footer>
189+
<BackToUp>Top</BackToUp>
190190
</div>
191191
);
192192
}

0 commit comments

Comments
 (0)
Please sign in to comment.