RI-7774 Fix navigation icons alignment on the Databases page #5267
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Fix the alignment of the Copilot and Insights icons in the navigation when on the Databases tab.
Note: Also, remove the deprecated SASS, transform it to "styled components" and update AI rules.
Testing
Observe the placement of the icon in the top right corner.
Before
After
Note
Aligns Copilot/Insights/profile actions in the Home page header and replaces SCSS with styled-components using layout components, theme spacing, and semantic colors; updates frontend rules accordingly.
styles.module.scsswithHomePageTemplate.styles.tsusingstyled-componentsand layout components (Row,FlexGroup).space800,space200) and semantic colors for header background/border; remove magic numbers and CSS vars.PageDefaultHeaderwithalign="center",justify="between",gap="l"; wrap content withPageWrapperandExplorePanelWrapper.CopilotTrigger,InsightsTrigger,OAuthUserProfile) using layout props.gapprop, theme spacing, semantic colors, and layout components instead ofdiv.Written by Cursor Bugbot for commit 4324d77. This will update automatically on new commits. Configure here.