[PR #4] [CLOSED] Fix UI cut-off when Primary Sidebar is on right #93

Closed
opened 2026-05-06 13:13:19 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/bwya77/vscode-dark-islands/pull/4
Author: @hezhamen
Created: 2/14/2026
Status: Closed

Base: mainHead: fix-sidebar-right-ui


📝 Commits (1)

  • 32c06e2 Fix UI cut-off when Primary Sidebar is on right

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 settings.json (+5 -5)

📄 Description

Fixes #1

Changes

Updated margin settings in settings.json to fix the UI cut-off issue when the Primary Sidebar is moved to the right side:

  1. .part.editor - Increased right margin from 8px to 16px

    • Changed: "margin": "8px 16px 0 8px"
    • This provides extra space on the right when sidebar is positioned there
  2. .part.activitybar - Reduced left margin from 12px to 8px

    • Changed: "margin": "8px 20px 30px 8px"
    • Balanced spacing that works well whether sidebar is on left or right

Why

When the Primary Sidebar is moved to the right, the right edge of the UI was getting cut off due to insufficient margin. These adjustments provide enough space for the sidebar while maintaining a balanced layout regardless of sidebar position.

Testing

  • Tested with Primary Sidebar on left
  • Tested with Primary Sidebar on right

The 16px right margin on the editor provides room for the right-positioned sidebar, while the 8px left margin on the activitybar maintains visual spacing in both configurations.

Thanks to @Chewieez for identifying this issue and providing the initial fix!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bwya77/vscode-dark-islands/pull/4 **Author:** [@hezhamen](https://github.com/hezhamen) **Created:** 2/14/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-sidebar-right-ui` --- ### 📝 Commits (1) - [`32c06e2`](https://github.com/bwya77/vscode-dark-islands/commit/32c06e23c727c767c31a6f785ea4e343a670ee7f) Fix UI cut-off when Primary Sidebar is on right ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `settings.json` (+5 -5) </details> ### 📄 Description Fixes #1 ## Changes Updated margin settings in `settings.json` to fix the UI cut-off issue when the Primary Sidebar is moved to the right side: 1. **`.part.editor`** - Increased right margin from `8px` to `16px` - Changed: `"margin": "8px 16px 0 8px"` - This provides extra space on the right when sidebar is positioned there 2. **`.part.activitybar`** - Reduced left margin from `12px` to `8px` - Changed: `"margin": "8px 20px 30px 8px"` - Balanced spacing that works well whether sidebar is on left or right ## Why When the Primary Sidebar is moved to the right, the right edge of the UI was getting cut off due to insufficient margin. These adjustments provide enough space for the sidebar while maintaining a balanced layout regardless of sidebar position. ## Testing - [ ] Tested with Primary Sidebar on left - [ ] Tested with Primary Sidebar on right The 16px right margin on the editor provides room for the right-positioned sidebar, while the 8px left margin on the activitybar maintains visual spacing in both configurations. Thanks to @Chewieez for identifying this issue and providing the initial fix! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:13:19 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vscode-dark-islands#93
No description provided.