From b1898e019b60911a0f976ded90dfd76ee1c0bba9 Mon Sep 17 00:00:00 2001
From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Date: Thu, 29 May 2025 23:37:05 +0530
Subject: [PATCH] fix: Design issues with profile settings style (#11630)
# Pull Request Template
## Description
This PR fixes styles issues with the select in profile settings and
toggles the Hotkeys button.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
### Screenshots
**Select**
| Before | After (Dark Mode) | After (Light Mode) |
| ------------- | ------------- | ------------- |
| | | |
**Toggle Hotkeys**
| Before | After (Dark Mode) | After (Light Mode) |
| ------------- | ------------- | ------------- |
| | | |
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
---
app/javascript/dashboard/assets/scss/widgets/_base.scss | 2 +-
.../dashboard/routes/dashboard/settings/profile/Index.vue | 7 ++++++-
app/javascript/v3/components/Form/Select.vue | 6 +++---
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/app/javascript/dashboard/assets/scss/widgets/_base.scss b/app/javascript/dashboard/assets/scss/widgets/_base.scss
index 9c4ccf126..afaaf91c8 100644
--- a/app/javascript/dashboard/assets/scss/widgets/_base.scss
+++ b/app/javascript/dashboard/assets/scss/widgets/_base.scss
@@ -101,7 +101,7 @@ select {
background-image: url("data:image/svg+xml;utf8,");
background-size: 9px 6px;
- @apply field-base h-10 bg-origin-content focus-visible:outline-none bg-no-repeat py-2 ltr:bg-[right_-1rem_center] rtl:bg-[left_-1rem_center] ltr:pr-6 rtl:pl-6 rtl:pr-3 ltr:pl-3;
+ @apply field-base h-10 bg-origin-content bg-no-repeat py-2 ltr:bg-[right_-1rem_center] rtl:bg-[left_-1rem_center] ltr:pr-6 rtl:pl-6 rtl:pr-3 ltr:pl-3;
&[disabled] {
@apply field-disabled;
diff --git a/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue
index eedcd21f1..097e0589a 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue
@@ -245,7 +245,12 @@ export default {