fix: расположение подального окна + отступ скролинга профиля

This commit is contained in:
kazachilo 2025-03-26 17:04:57 +03:00
parent c8daeca808
commit 6fcb3ce0f1
2 changed files with 10 additions and 1 deletions

View File

@ -7,7 +7,7 @@
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: flex-start;
z-index: 1000; z-index: 1000;
} }
@ -19,6 +19,7 @@
max-width: 400px; max-width: 400px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: var(--spacing-medium); margin: var(--spacing-medium);
margin-top: 15vh;
max-height: 80vh; max-height: 80vh;
overflow-y: auto; overflow-y: auto;
position: relative; position: relative;

View File

@ -62,6 +62,14 @@
.tokenPacks { .tokenPacks {
margin-top: 12px; margin-top: 12px;
padding: 0 8px; /* Добавить боковые отступы */
}
@supports (-webkit-touch-callout: none) {
/* Стили только для iOS устройств */
.tokenPacks {
padding: 0 16px; /* Увеличенные отступы для iOS */
}
} }
@media (min-width: 768px) { @media (min-width: 768px) {