Glitch: Tabs are moving on hover
Description
On the Workspace settings > Groups page, hovering over the tabs of a selected group causes them to shift slightly. The bottom line that appears on hover takes up space in the layout, pushing the tab content up and to the left. The tabs should stay static, with the hover line overlaid on the tab instead of affecting its size.
Current Behavior
- Go to Workspace settings > Groups
- Select any group
- Hover over the tabs
- Notice the tab content shifts slightly up and to the left as the bottom line appears
Recording:
https://github.com/user-attachments/assets/506a136f-bdd0-4689-9f48-27b760cab638
Expected Outcome
Hovering over a tab shows the bottom line without moving the tab or its content. The line should be overlaid on the tab component so the layout stays exactly the same between the default and hover states.
Suggested Approach
- Check the hover styles on the tab component; the shift is likely caused by a
border-bottom(or padding/margin change) being added only on hover. - Render the line without affecting layout, for example with an absolutely positioned
::afterpseudo-element, an insetbox-shadow, or a transparent border that's always present and only changes colour on hover. - Make sure the active/selected tab indicator still looks and behaves as before.
✅ Acceptance Criteria
- Tabs and their content don't move on hover
- Hover bottom line is still visible and overlaid on the tab
- Selected tab styling is unchanged
- Works in both light and dark mode
- Before/after recording or screenshots included in the PR
- PR is raised against the
mainbranch
️ Difficulty
Beginner
Hacktoberfest
This issue is part of Hacktoberfest 2026. Please comment below to get assigned before starting work, and link this issue in your PR.
Contribution Guidelines
- Wait to be assigned before opening a PR. Unassigned PRs may be closed.
- If you're assigned but can't continue, please comment so the issue can be reassigned.
- Raise your PR against the
mainbranch. - Keep PRs focused on this issue only, and reference it using
Closes #<issue-number>. - Low-effort or spammy PRs will be marked
invalid/spamper Hacktoberfest rules.
Code of Conduct
By contributing, you agree to follow our Code of Conduct. Please be respectful and inclusive in all interactions.
Source: ToolJet/ToolJet