Skip to content

Conversation

@artembelik
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 19, 2025 13:20
@artembelik artembelik requested a review from NikGurev as a code owner November 19, 2025 13:20
@artembelik artembelik self-assigned this Nov 19, 2025
@artembelik artembelik added the bug Something isn't working label Nov 19, 2025
Copilot finished reviewing on behalf of artembelik November 19, 2025 13:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 0 to 1px via 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.

@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 66be0ee):

https://koobiq-next--prs-1128-c5szk7fe.web.app

(expires Mon, 24 Nov 2025 13:26:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

flex-direction: column;
min-height: 0;

padding-top: 1px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??

Suggested change
padding-top: 1px;
padding-top: var(--kbq-sidepanel-size-content-padding-bottom);

@lskramarov lskramarov requested a review from rmnturov November 20, 2025 12:05
@lskramarov
Copy link
Contributor

Еще поповер.

@lskramarov lskramarov self-requested a review November 20, 2025 12:16
--kbq-modal-size-close-button-margin-left: var(--kbq-size-s);
--kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);
--kbq-modal-size-content-padding-top: 0;
--kbq-modal-size-content-padding-top: 1px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нужно добавить комментарий для чего этот паддинг в 1px

@rmnturov
Copy link
Contributor

в поповере еще можно

@rmnturov
Copy link
Contributor

изображение

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants