@media (max-width: 767px) { /* само «колокольчик»-меню занимает всю ширину */ .inner-notifications{ position: fixed; /* фиксируем к вьюпорту */ inset: 0; /* top/right/bottom/left = 0 */ top: 0!important; width: 100%; height: 100vh; /* на полный экран */ max-height: none; border-radius: 0; /* убираем круглые углы */ padding: 20px 16px 32px!important; /* больше “воздуха” снизу под жесты */ overflow-y: auto; z-index: 9999; } /* «шапка» – крупнее, приятней тапать */ .inner-notifications__head{ gap: 12px; } .inner-notifications__head .base-head__title{ font-size: 20px; } /* вкладки (“All / Personal”) превращаем в свайпер-ленточку */ .inner-notifications__navigation{ gap: 8px; } .inner-notifications__trigger{ font-size: 15px; padding: 8px 14px; white-space: nowrap; /* не переносить слова */ } /* карточки уведомлений — плотнее, изображение меньше */ .item-list-inner{ gap: 12px; padding: 12px; } .icon.icon_44{ width: 36px; height: 36px; flex: 0 0 36px; } .item-list-inner__name{ font-size: 16px; } .item-list-inner__text{ font-size: 13px; } } /* ---------- VERY SMALL PHONES (≤ 479 px) ---------- */ @media (max-width: 479px){ .inner-notifications{ padding: 16px 12px 28px; } /* уменьшаем заголовки и поля ещё чуть-чуть */ .inner-notifications__head .base-head__title{ font-size: 18px; } .inner-notifications__trigger{ font-size: 14px; padding: 6px 10px; } .item-list-inner__name{ font-size: 15px; max-width: 68vw; /* чтобы не упиралось в край */ } .item-list-inner__text{ display: none; /* текст свёрнут — экономим место. Уберите правило, если текст обязателен */ } } .item-list-inner { align-items: start!important; gap: 16px!important; background-color: #1b1f28; } .list-inner-notifications { height: 450px; overflow-y: scroll; } .item-list-inner-icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background-color: rgba(55, 114, 255, .2); border-radius: 9px; } .item-list-inner-icon svg { width: 30px; } .item-list-inner__content { gap: 6px!important; } #notifCounter { display: none; background: #df1c41; color: #fff; border-radius: 10px; font-size: 10px; min-width: 16px; height: 16px; line-height: 15px; text-align: center; padding: 0 6px; position: absolute; left: 100%; top: -7px; z-index: 10; font-weight: 600; }