SHA256
Выровнять верхние панели UI
This commit is contained in:
@@ -186,14 +186,32 @@
|
||||
|
||||
|
||||
|
||||
/* Уведомления: переключатели лент повторяют стеклянные чипы экрана «Связи». */
|
||||
.notifications-screen .notification-feed-tabs {
|
||||
/* Уведомления: переключатели лент занимают место заголовка в закреплённом
|
||||
* TopBar и повторяют стеклянные чипы экрана «Связи». */
|
||||
.notifications-topbar {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .topbar__left,
|
||||
.notifications-topbar .topbar__right {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .topbar__center {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .notification-feed-tabs {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
flex-wrap: nowrap;
|
||||
gap: 8px;
|
||||
padding: 8px 12px 4px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
@@ -201,25 +219,22 @@
|
||||
}
|
||||
|
||||
|
||||
.notifications-screen .notification-feed-tabs .notification-tab-btn {
|
||||
min-width: 92px;
|
||||
.notifications-topbar .notification-feed-tabs .notification-tab-btn {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
padding-inline: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* На обычных экранах отступ создаёт стандартный padding screen-content (14px). */
|
||||
.notifications-screen .notification-feed-tabs.app-top-tabs {
|
||||
/* Высота панели остаётся стандартной: перенос фильтров не увеличивает TopBar. */
|
||||
.notifications-topbar .notification-feed-tabs.app-top-tabs {
|
||||
min-height: var(--app-primary-tab-min-height);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.notifications-screen .notification-feed-tabs .notification-tab-btn {
|
||||
min-width: 92px;
|
||||
}
|
||||
|
||||
|
||||
/* Уведомления: информационные блоки без рамок. Hover/focus не возвращает
|
||||
* обводку — различение сохраняется фоном и лёгкой реакцией на нажатие. */
|
||||
.notifications-screen .notifications-list > .notification-card,
|
||||
|
||||
Reference in New Issue
Block a user