Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/safari-modal-height-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@alfalab/core-components-base-modal': patch
---

Исправлено некорректное отображение высоты контента модального окна в Safari 26.1 за счет использования специфичного для Safari переопределения height: auto.
8 changes: 8 additions & 0 deletions packages/base-modal/src/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ body:global(.is-locked) {
flex-direction: column;
flex: 1;

/*
Фикс для Safari 26.1:
Заменяем height: 100% на auto, чтобы контент не растягивался на весь экран.
*/
@supports (background: -webkit-named-image(apple-pay-logo-black)) {

@hextion hextion Apr 9, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@mitrofanzxc подскажи пож-та почему такое условие и какую проблему решаешь?

height: auto;
}

&.hasFooter {
@media (display-mode: standalone) {
padding-bottom: unset;
Expand Down