chore: 文件头, 输入框UI优化, 部分头像优化, 其他

This commit is contained in:
MoonLeeeaf
2024-05-29 23:40:13 +08:00
parent 822a4ad4da
commit 6654141c18
5 changed files with 56 additions and 128 deletions

View File

@@ -1,29 +1,14 @@
/*
* 铃之椅 - 把选择权还给用户, 让聊天权掌握在用户手中
* Copyright 2024 满月叶
* GitHub: https://github.com/MoonLeeeaf/LingChair-Web-Client
* 本项目使用 Apache 2.0 协议开源
*
* Copyright 2024 MoonLeeeaf
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
/*
* ©2024 满月叶
* Github: MoonLeeeaf
* 铃之椅 网页端
*/
html, body {
max-height: 100%;
margin: 0;
padding: 0;
/* overflow: hidden; */
overflow: hidden;
/*font: initial;*/
}
body {
@@ -49,6 +34,24 @@ body {
position: sticky;
bottom: 0;
display: block;
height: var(--pseudo-height); /* 设置伪元素的高度 */
z-index: -1; /* 防止遮挡实际内容 */
}
}
.chat-seesion {
flex: 1 1 auto;
display: flex;
flex-direction: column;
position: relative;
}
/* https://segmentfault.com/q/1010000010391524 */
img {
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}
img.round {
border-radius: 50%;
}