[PR #359] [MERGED] fix: align toggle switches in repository settings #385

Closed
opened 2026-02-26 12:41:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/359
Author: @michelroegl-brunner
Created: 11/29/2025
Status: Merged
Merged: 11/29/2025
Merged by: @michelroegl-brunner

Base: mainHead: fix/352


📝 Commits (1)

  • 447332e fix: align toggle switches in repository settings

📊 Changes

2 files changed (+70 additions, -58 deletions)

View changed files

📝 src/app/_components/GeneralSettingsModal.tsx (+41 -39)
📝 src/app/_components/ui/toggle.tsx (+29 -19)

📄 Description

Fixes toggle switch alignment issue in repository settings.

Changes:

  • Removed fixed label width from Toggle component to allow flexible label lengths
  • Moved delete button to the left of toggle switches for better alignment
  • Added matching border/padding to 'Enable after adding' section to match repository items
  • Ensured all toggles have consistent right-side alignment

🔄 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/community-scripts/ProxmoxVE-Local/pull/359 **Author:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Created:** 11/29/2025 **Status:** ✅ Merged **Merged:** 11/29/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `fix/352` --- ### 📝 Commits (1) - [`447332e`](https://github.com/community-scripts/ProxmoxVE-Local/commit/447332e5588f29199e4956a484f748393590973f) fix: align toggle switches in repository settings ### 📊 Changes **2 files changed** (+70 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `src/app/_components/GeneralSettingsModal.tsx` (+41 -39) 📝 `src/app/_components/ui/toggle.tsx` (+29 -19) </details> ### 📄 Description Fixes toggle switch alignment issue in repository settings. Changes: - Removed fixed label width from Toggle component to allow flexible label lengths - Moved delete button to the left of toggle switches for better alignment - Added matching border/padding to 'Enable after adding' section to match repository items - Ensured all toggles have consistent right-side alignment --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 12:41:12 +03: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/ProxmoxVE-Local#385
No description provided.