[BUG] : Improve Sidebar Layout, Spacing, and Control Alignment

未关闭
#2,362 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@NiranjanRSoorej06 已经在做这个了。

开始于 2026年8月16日。

  • #2433 来自 @aaniya22 —— 已关闭,未合并

评估

这个 Issue 还没有评估数据。

描述

priority:medium type:bug

Summary

The sidebar layout has several UI inconsistencies affecting visual balance and usability. The theme toggle, collapse button, navigation icons, and spacing/padding between elements are misaligned, making the sidebar appear unfinished.

Why this matters

A consistent sidebar improves navigation, accessibility, and the overall user experience. Misaligned controls and inconsistent spacing reduce the application's visual quality and make interactions feel less polished.

Reproduction steps

  1. Launch the application.
  2. Observe the left sidebar.
  3. Compare the alignment and spacing of navigation items, icons, theme toggle, and collapse button.
  4. Notice the inconsistent padding and positioning.

Expected behavior

  • Navigation items should have consistent padding and spacing.
  • Icons should be uniformly aligned with their labels.
  • The theme toggle and collapse button should be properly centered and aligned.
  • Section headers should maintain consistent spacing from navigation items.
  • Overall sidebar layout should appear visually balanced.

Actual behavior

  • Theme toggle and collapse button appear misaligned.
  • Navigation icons have inconsistent spacing.
  • Padding between sections and menu items is uneven.
  • Sidebar controls lack consistent alignment, resulting in an unpolished UI.

Scope

Suggested files or directories:

  • Sidebar component
  • Navigation/Menu component
  • Theme Toggle component
  • Sidebar styles (CSS/Tailwind)

Related route, page, component, or script:

  • Sidebar
  • Navigation Menu
  • Theme Toggle
  • Collapse Button

Evidence

  • Sidebar shows inconsistent padding and alignment across controls.
  • Theme toggle and collapse button are not visually centered.
  • Screenshot attached.
Image

Environment

  • OS: Windows 10
  • Browser: Chrome
  • Python Version: N/A
  • Node Version: N/A
  • Docker Version: N/A

Definition of done

  • Sidebar spacing is consistent.
  • Icons are uniformly aligned.
  • Theme toggle is properly positioned.
  • Collapse button is aligned with the layout.
  • Navigation items follow a consistent design system.
  • Responsive behavior is verified.

Additional context

The sidebar would benefit from standardized spacing, consistent icon sizing, improved alignment of interactive controls, and a unified padding system to match the application's overall design language.

主要语言
Python
星标
36
派生
234
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

utksh1/SecuScan 的其他 Issue

查看 utksh1/SecuScan 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。