From 6654141c18ae634768b5988267cdc2a98e11204e Mon Sep 17 00:00:00 2001 From: MoonLeeeaf <150461955+MoonLeeeaf@users.noreply.github.com> Date: Wed, 29 May 2024 23:40:13 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=96=87=E4=BB=B6=E5=A4=B4,=20?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86UI=E4=BC=98=E5=8C=96,=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=A4=B4=E5=83=8F=E4=BC=98=E5=8C=96,=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ling_chair_http/chat-message.css | 4 +- ling_chair_http/index.css | 49 +++++++++-------- ling_chair_http/index.html | 29 +++------- ling_chair_http/index.js | 91 ++++--------------------------- ling_chair_http/mdui-prettier.css | 11 +++- 5 files changed, 56 insertions(+), 128 deletions(-) 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 @@
加载更多 | 回到底部
-
+
+
+ style="position: sticky;max-width: 100%;margin-top: 1px;bottom: 0;z-index: 101;padding-top: 7px;" n-id="inputToolbar">