Skip to content

fix(dashboard): add spacing beside the settings scrollbar - #11070

Merged
RC-CHN merged 1 commit into
AstrBotDevs:masterfrom
RC-CHN:fix/settings-scrollbar-spacing
Nov 10, 2026
Merged

RC-CHN merged 1 commit into
AstrBotDevs:masterfrom
RC-CHN:fix/settings-scrollbar-spacing

Conversation

@RC-CHN

@RC-CHN RC-CHN commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

The Settings pane places its cards and timezone preview directly against the vertical scrollbar when the content overflows.

Modifications

Add Vuetify's existing pe-3 utility to the settings pane, providing 12px of inline-end padding between the content and scrollbar.

  • This is not a breaking change.

Verification Steps

  1. Open System Settings → General with a viewport short enough to require scrolling.
  2. Check that the cards and timezone preview have space before the vertical scrollbar.
  3. Scroll the settings pane and confirm the page title and section navigation remain fixed.

Screenshots or Test Results

  • ruff format .: 579 files unchanged.
  • ruff check .: passed.
  • node node_modules/vue-tsc/bin/vue-tsc.js --noEmit (in dashboard): passed.
  • Vue template and scoped CSS compilation: passed.
  • Development WebUI and backend HTTP smoke checks: passed.

No browser screenshot is attached; browser visual validation was not performed by the authoring agent.

Checklist

  • New feature discussion: not applicable; this is a spacing fix.
  • Automated checks passed; manual verification steps are provided above.
  • Reviewed the System Settings instructions in docs/zh/use/webui.md and docs/en/use/webui.md. No documentation update is needed because this change only adds internal spacing; navigation, page structure, labels, and workflows remain unchanged.
  • No new dependencies are introduced.
  • This change does not introduce malicious code.

Summary by Sourcery

Bug Fixes:

  • Add spacing between the Settings pane content and its vertical scrollbar when the pane overflows.

@sourcery-ai sourcery-ai Bot 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.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@RC-CHN
RC-CHN merged commit faba6c0 into AstrBotDevs:master Nov 10, 2026
25 checks passed
@RC-CHN
RC-CHN deleted the fix/settings-scrollbar-spacing branch November 10, 2026 02:34
@Soulter Soulter moved this to Done in AstrBot Roadmap Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants