Доработан поиск артиста
This commit is contained in:
@@ -109,41 +109,19 @@ code {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.track-cover-container {
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
transition: transform 0.2s ease;
|
||||
/* Горизонтальный скролинг */
|
||||
.horizontal-scroll {
|
||||
overflow-x: auto;
|
||||
scroll-snap-type: x mandatory;
|
||||
overflow-y: hidden; /* отключаем вертикальный скролл */
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.track-cover-container:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.play-overlay {
|
||||
transition: opacity 0.2s ease;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Фиксированный плеер внизу */
|
||||
.fixed-player {
|
||||
position: sticky;
|
||||
display: flex;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
right: 0;
|
||||
justify-content: center;
|
||||
background-color: var(--mud-palette-background);
|
||||
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Отступ снизу, когда плеер виден */
|
||||
.page-with-player {
|
||||
padding-bottom: 80px; /* Высота плеера (подберите под свою тему) */
|
||||
}
|
||||
|
||||
/* На мобильных устройствах можно уменьшить отступ */
|
||||
@media (max-width: 600px) {
|
||||
.page-with-player {
|
||||
padding-bottom: 100px; /* если плеер выше на мобильных */
|
||||
.horizontal-scroll:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
/* Для WebKit (Chrome, Edge, Safari) можно включить горизонтальный скролл мышью */
|
||||
.horizontal-scroll {
|
||||
scrollbar-width: thin;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
Reference in New Issue
Block a user