[Docs] Fix floating Kanvas card overlapping navbar (#1187) - #1190
[Docs] Fix floating Kanvas card overlapping navbar (#1187)#1190dineshmanideep wants to merge 1 commit into
Conversation
Signed-off-by: Paluvadi Dinesh Manideep <dineshmanideep@gmail.com>
📝 WalkthroughWalkthroughThe Kanvas corner popup now uses viewport-aware spacing and dimensions. Its inner content scrolls within bounded heights. Links and buttons prevent horizontal overflow on narrow layouts. ChangesKanvas popup layout
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/scss/_kanvas-corner-popup.scss`:
- Around line 16-19: In the custom property block, add an empty line after
--kanvas-navbar-height and before the position declaration to satisfy
Stylelint’s declaration-empty-line-before rule.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 510c8874-452c-46fd-8279-6757aebff06b
📒 Files selected for processing (1)
assets/scss/_kanvas-corner-popup.scss
| --kanvas-top-gap:1rem; | ||
| --kanvas-bottom-gap: 3rem; | ||
| --kanvas-navbar-height: 6rem; | ||
| position: fixed; |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Fix the Stylelint error before merge.
Add an empty line between the custom property declarations and position. Stylelint reports declaration-empty-line-before on Line 19.
🧰 Tools
🪛 Stylelint (17.14.0)
[error] 19-19: Expected empty line before declaration (declaration-empty-line-before)
(declaration-empty-line-before)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@assets/scss/_kanvas-corner-popup.scss` around lines 16 - 19, In the custom
property block, add an empty line after --kanvas-navbar-height and before the
position declaration to satisfy Stylelint’s declaration-empty-line-before rule.
Source: Linters/SAST tools
Sbragul26
left a comment
There was a problem hiding this comment.
@dineshmanideep, please address the CodeRabbit comment.
|
hello @Sbragul26 , I have tried to replicate the issue on my side but i am not able to , |

This PR fixes the issue where the floating Kanvas card overlaps the navbar on low-height or landscape viewports.
Changes
Fixes #1187
Signed commits
Demo
Screencast.From.2026-08-07.17-09-27.mp4
Summary by CodeRabbit