From 5c868b2076978e26105088acf5cbb90bca510008 Mon Sep 17 00:00:00 2001 From: denis0001-dev Date: Wed, 20 Aug 2025 20:00:40 +0300 Subject: [PATCH] Replace with Material lists --- frontend/index.html | 18 ++++++++---------- frontend/src/css/_panelchat.scss | 30 ++++++------------------------ frontend/src/material.ts | 4 ++++ 3 files changed, 18 insertions(+), 34 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 0bf670a..adc261c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -103,16 +103,14 @@ - + + + + + + + + ertgergert erhnbftgynftdhge4w diff --git a/frontend/src/css/_panelchat.scss b/frontend/src/css/_panelchat.scss index 40e850b..cab3e70 100644 --- a/frontend/src/css/_panelchat.scss +++ b/frontend/src/css/_panelchat.scss @@ -92,35 +92,17 @@ } .chat-tabs { - display: flex; - flex-direction: column; - gap: 10px; margin-top: 5px; width: 100%; --mdui-color-surface: $color-dark-surface-container; --mdui-color-surface-variant: transparent; - a { - display: flex; - text-decoration: none; - padding: 10px; - border: solid 3px $color-dark-surface; - box-shadow: 0px 3px 0px black 0.9; - margin-left: 20px; - margin-right: 20px; - background-color: $color-dark-on-surface-variant; - color: $color-dark-shadow; - font-weight: 20px; - border-radius: 20px; - align-items: center; - - img { - width: 45px; - height: 45px; - border-radius: 20%; - object-fit: cover; - margin-right: 1rem; - } + img { + width: 45px; + height: 45px; + border-radius: 20%; + object-fit: cover; + margin-right: 1rem; } } } \ No newline at end of file diff --git a/frontend/src/material.ts b/frontend/src/material.ts index da37671..da8a561 100644 --- a/frontend/src/material.ts +++ b/frontend/src/material.ts @@ -1,6 +1,10 @@ import 'mdui/components/tabs.js'; import 'mdui/components/tab.js'; import 'mdui/components/tab-panel.js'; +import 'mdui/components/list.js'; +import 'mdui/components/list-item.js'; +import 'mdui/components/list-subheader.js'; + import { setColorScheme } from 'mdui/functions/setColorScheme.js'; setColorScheme("#91cef4"); \ No newline at end of file