fix(modal,sidepanel): content body top padding (#DS-2557)#1128
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes content body top padding issues in modal and sidepanel components by adding a minimal 1px top padding. This padding prevents CSS margin collapse between the content body and its child elements, ensuring consistent spacing.
- Changed modal content top padding from
0to1pxvia CSS variable - Added 1px top padding to sidepanel body element
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/components/modal/modal-tokens.scss | Updated --kbq-modal-size-content-padding-top CSS variable from 0 to 1px to prevent margin collapse |
| packages/components/sidepanel/sidepanel.scss | Added padding-top: 1px to .kbq-sidepanel-body to prevent margin collapse |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Visit the preview URL for this PR (updated for commit 36e9c24): https://koobiq-next--prs-1128-c5szk7fe.web.app (expires Sat, 29 Nov 2025 10:05:16 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
|
Еще поповер. |
|
в поповере еще можно |
в нем уже есть отступ, добавил комментарий |

No description provided.