Skip to content

fix(ui): knowledge base modal backdrop and positioning#10

Merged
pancacake merged 1 commit into
HKUDS:mainfrom
tusharkhatriofficial:fix/kb-modal-positioning
Dec 31, 2025
Merged

fix(ui): knowledge base modal backdrop and positioning#10
pancacake merged 1 commit into
HKUDS:mainfrom
tusharkhatriofficial:fix/kb-modal-positioning

Conversation

@tusharkhatriofficial

Copy link
Copy Markdown
Contributor

Description

Fixed the Knowledge Base modal positioning and backdrop display issue. Removed backdrop blur effect and adjusted modal vertical positioning for better visibility.

Related Issues

N/A

Changes Made

  • Modified modal container styling in knowledge/page.tsx:
    // Before
    <div className="fixed inset-0 bg-black/50 backdrop-blur-sm z-50 flex items-center justify-center p-4">
    
    // After
    <div className="fixed inset-0 z-50 flex items-center justify-center p-4 mt-40">
  • Removed bg-black/50 backdrop-blur-sm classes from modal container
  • Added mt-40 margin-top for proper modal positioning

Before/After Screenshots:

Before

before

After

after

Module(s) Affected

  • Dashboard
  • Knowledge Base Management
  • Smart Solver
  • Question Generator
  • Deep Research
  • Co-Writer
  • Notebook
  • Guided Learning
  • Idea Generation
  • API/Backend
  • Frontend/Web
  • Configuration
  • Documentation
  • Other: ___________

Checklist

  • Changes tested locally
  • Code follows project style guidelines
  • Self-review completed
  • Code reviewed
  • Documentation updated (if necessary)
  • No new warnings generated
  • Tests added/updated (if applicable)

Additional Notes

Simplified modal overlay by removing backdrop blur and adjusted vertical positioning with margin-top for improved modal visibility and user experience. This is a CSS-only change with no functional impact.

@pancacake

Copy link
Copy Markdown
Collaborator

Wow!

@pancacake
pancacake merged commit b8fea16 into HKUDS:main Dec 31, 2025
vaskoyudha added a commit to vaskoyudha/deeptutor-for-programmer-fork that referenced this pull request Jul 25, 2026
…sitioning

fix(ui): knowledge base modal backdrop and positioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants