diff --git a/ling_chair_http/chat-message.css b/ling_chair_http/chat-message.css index 46e0dcf..755dfb5 100644 --- a/ling_chair_http/chat-message.css +++ b/ling_chair_http/chat-message.css @@ -79,7 +79,7 @@ .chat-message-left > .avatar, .chat-message-right > .avatar { - width: 45px; - height: 45px; + width: 50px; + height: 50px; border-radius: 50%; } \ No newline at end of file diff --git a/ling_chair_http/index.css b/ling_chair_http/index.css index debc8f2..6b882f2 100644 --- a/ling_chair_http/index.css +++ b/ling_chair_http/index.css @@ -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%; +} diff --git a/ling_chair_http/index.html b/ling_chair_http/index.html index bff5c1e..cc8a260 100644 --- a/ling_chair_http/index.html +++ b/ling_chair_http/index.html @@ -1,26 +1,10 @@ - -
@@ -147,13 +131,14 @@ -