UI: компактная тёмная плитка автора и корректный переход в профиль
This commit is contained in:
parent
90d10086d7
commit
3e62a2a01c
@ -1,2 +1,2 @@
|
||||
client.version=1.2.67
|
||||
server.version=1.2.61
|
||||
client.version=1.2.68
|
||||
server.version=1.2.62
|
||||
|
||||
@ -661,7 +661,7 @@ function renderPostCard(post, {
|
||||
event.stopPropagation();
|
||||
const cleanLogin = String(post.authorLogin || '').trim();
|
||||
if (!cleanLogin) return;
|
||||
navigate(`user/${encodeRoutePart(cleanLogin)}/channel-view`);
|
||||
navigate(`user/${encodeRoutePart(cleanLogin)}`);
|
||||
});
|
||||
|
||||
const body = document.createElement('p');
|
||||
|
||||
@ -2172,32 +2172,36 @@ textarea.input {
|
||||
}
|
||||
|
||||
.channel-message-author-tile {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
background: rgba(19, 24, 33, 0.9);
|
||||
color: #f5f8ff;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.channel-message-author-tile:hover {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
background: rgba(28, 35, 48, 0.94);
|
||||
}
|
||||
|
||||
.channel-message-avatar {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
min-width: 34px;
|
||||
min-height: 34px;
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 17px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #f4f6ff;
|
||||
background: radial-gradient(circle at 30% 30%, #8a73ff, #4f4bda 58%, #3b2b89);
|
||||
@ -2210,7 +2214,7 @@ textarea.input {
|
||||
}
|
||||
|
||||
.channel-message-title {
|
||||
font-size: 20px;
|
||||
font-size: 15px;
|
||||
color: #f5f8ff;
|
||||
}
|
||||
|
||||
@ -2227,7 +2231,7 @@ textarea.input {
|
||||
}
|
||||
|
||||
.channel-message-time {
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
color: rgba(255, 255, 255, 0.48);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user