Жесткая фиксация круглых аватаров чатов через important
This commit is contained in:
parent
81d9178ec9
commit
4b6c25157d
@ -81,16 +81,34 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Chat Avatars */
|
||||
/* Chat Avatars - ЖЕСТКО КРУГЛЫЕ! */
|
||||
.chat-avatar,
|
||||
.card-icon img,
|
||||
.chat-list-wrapper .card-icon,
|
||||
.chat-row .card-icon,
|
||||
.chat-section .card-icon {
|
||||
border-radius: 50% !important; /* Круглая форма - приоритет */
|
||||
}
|
||||
|
||||
.chat-avatar,
|
||||
.card-icon img {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 50%; /* Круглая форма */
|
||||
width: 44px !important;
|
||||
height: 44px !important;
|
||||
object-fit: cover;
|
||||
border: 2px solid var(--bs-border-color);
|
||||
}
|
||||
|
||||
/* Фоновые иконки тоже круглые */
|
||||
.chat-list-wrapper .card-icon,
|
||||
.chat-row .card-icon {
|
||||
width: 44px !important;
|
||||
height: 44px !important;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
border-radius: 50% !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-avatar-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -99,7 +117,7 @@
|
||||
.chat-avatar-group img {
|
||||
margin-left: -8px;
|
||||
border: 2px solid white;
|
||||
border-radius: 8px;
|
||||
border-radius: 50% !important; /* Тоже круглые! */
|
||||
}
|
||||
|
||||
.chat-avatar-group img:first-child {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user