Skip to content

fix(UI): fix the abnormal UI of new issue page#1198

Merged
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
liuyangjuncong20202570:fix/newIssueUI
Jul 7, 2025
Merged

fix(UI): fix the abnormal UI of new issue page#1198
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
liuyangjuncong20202570:fix/newIssueUI

Conversation

@liuyangjuncong20202570

Copy link
Copy Markdown
Contributor

修复新建issue页面UI显示错误

@vercel

vercel Bot commented Jul 5, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2025 10:12am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses layout and styling issues on the "New Issue" page to ensure inputs and panels render consistently.

  • Added custom focus and sizing styles for inputs in global.css.
  • Moved theme CSS import and adjusted layout containers in the Next.js page.
  • Updated editor and issue page component wrappers with explicit heights and overflow handling.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
moon/apps/web/styles/global.css Added .no-border-input, .new-issue-input, and .new-issue-side-input rules to normalize input focus and sizing.
moon/apps/web/pages/[org]/issue/new/index.tsx Removed theme CSS import from the page entry and relies on component-level import.
moon/apps/web/components/SimpleNoteEditor/SimpleNoteContent.tsx Changed wrapper <div> to include h-[95%] and overflow-auto for scrolling in editor.
moon/apps/web/components/Issues/IssueNewPage.tsx Imported theme CSS and restructured columns with percentage heights and new input classes.
Comments suppressed due to low confidence (1)

Comment thread moon/apps/web/styles/global.css
Comment thread moon/apps/web/styles/global.css
Comment thread moon/apps/web/components/Issues/IssueNewPage.tsx
Comment thread moon/apps/web/components/SimpleNoteEditor/SimpleNoteContent.tsx
@benjamin-747
benjamin-747 added this pull request to the merge queue Jul 7, 2025
Merged via the queue into gitmono-dev:main with commit 32ce646 Jul 7, 2025
6 checks passed
yyk808 pushed a commit to yyk808/mega that referenced this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants