code clean up, change fav to use bool, use template instead of dynamic html, etc

This commit is contained in:
Wilfred Chen
2023-04-23 02:38:24 +08:00
parent be3eb37b6e
commit 2aa42991fd
5 changed files with 36 additions and 23 deletions

View File

@@ -909,6 +909,12 @@ select option:not(:checked) {
cursor: not-allowed;
}
.fav_on {
color: #ffff00 !important;
}
.fav_off {
color: #fff !important;
}
#api_url_text,
#textgenerationwebui_api_url_text {
@@ -1145,7 +1151,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
#fav_chara {
border: none;
font-size: 14px;
font-size: var(--mainFontSize);
display: flex;
}
@@ -2495,12 +2501,15 @@ h5 {
}
.group_select .ch_name {
flex-grow: 1;
max-width: calc(100% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
.group_select .group_fav_icon{
margin-left: 5px;
}
#typing_indicator_template {
display: none !important;
}