@@ -8,10 +8,11 @@ import { BaseCol } from '../common/BaseCol/BaseCol';
88export const HeaderActionWrapper = styled . div `
99 cursor: pointer;
1010 position: relative;
11- display: inline-block; /* Keep compact by default */
12- max-width: 350px; /* Fixed max width at 350px to match search bar */
13- width: 100%; /* Allow full width within max constraint */
14-
11+ display: inline-flex; /* Use inline-flex for better alignment */
12+ align-items: center;
13+ justify-content: center;
14+ /* Remove width constraints to allow natural sizing */
15+
1516 /* Remove any potential background or box behind header buttons */
1617 background: transparent !important;
1718 background-color: transparent !important;
@@ -101,8 +102,8 @@ export const ProfileColumn = styled(BaseCol)<ProfileColumn>`
101102 css `
102103 /* Remove background and padding that creates unwanted box behind buttons */
103104 background-color: transparent !important;
104- /* Remove padding to prevent spacing issues */
105- padding: 0 !important;
105+ /* Add padding to the right to prevent settings gear from touching boundary */
106+ padding: 0 1.5rem 0 0 !important;
106107 /* Ensure the buttons are not affected */
107108 display: flex;
108109 align-items: center;
@@ -118,6 +119,8 @@ export const ProfileColumn = styled(BaseCol)<ProfileColumn>`
118119 width: 100% !important;
119120 display: flex !important;
120121 justify-content: flex-end !important;
122+ /* Add padding to the right to prevent settings gear from touching boundary */
123+ padding-right: 1.5rem !important;
121124 }
122125
123126 /* Additional override for all screen sizes - remove any possible background */
@@ -129,6 +132,8 @@ export const ProfileColumn = styled(BaseCol)<ProfileColumn>`
129132 border: none !important;
130133 /* Ensure right alignment */
131134 margin-left: auto !important;
135+ /* Add padding to the right for all screen sizes */
136+ padding-right: 1.5rem !important;
132137` ;
133138
134139export const GHButton = styled ( GitHubButton ) `
0 commit comments