alpha version

This commit is contained in:
Hk-Gosuto
2024-04-05 17:38:06 +08:00
parent ac57b2c770
commit 958ab02d1e
16 changed files with 1118 additions and 177 deletions

View File

@@ -18,21 +18,25 @@
background-position: center;
background-color: var(--second);
display: flex;
position: relative;
justify-content: center;
align-items: center;
span {
.attach-file-info {
top: 5px;
width: 100%;
position: absolute;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
font-weight: bolder;
text-align: center;
word-wrap: break-word;
word-break: break-all;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
line-height: 1.5;
top: 8px;
bottom: 8px;
left: 5px;
right: 10px;
pointer-events: none;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
}
.attach-file-mask {
@@ -516,6 +520,17 @@
transition: all ease 0.3s;
}
.chat-message-item-files {
display: grid;
grid-template-columns: repeat(var(--file-count), auto);
grid-gap: 5px;
}
.chat-message-item-file {
text-decoration: none;
color: #aaa;
}
.chat-message-item-image {
width: 100%;
margin-top: 10px;