mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix fav outline display on Firefox
This commit is contained in:
@@ -715,7 +715,7 @@ function printCharacters() {
|
||||
template.find('.avatar').attr('title', item.avatar);
|
||||
template.find('.ch_name').text(item.name);
|
||||
template.find('.ch_fav_icon').css("display", 'none');
|
||||
template.find('.ch_fav_icon').addClass(item.fav == "true" ? 'is_fav' : '');
|
||||
template.addClass(item.fav == "true" ? 'is_fav' : '');
|
||||
template.find('.ch_fav').val(item.fav);
|
||||
|
||||
// Display inline tags
|
||||
|
@@ -294,7 +294,7 @@ function printGroups() {
|
||||
template.attr("grid", group.id);
|
||||
template.find(".ch_name").html(group.name);
|
||||
template.find('.group_fav_icon').css("display", 'none');
|
||||
template.find('.group_fav_icon').addClass(group.fav ? 'is_fav' : '');
|
||||
template.addClass(group.fav ? 'is_fav' : '');
|
||||
//group.fav ? template.find(".group_fav_icon").show() : template.find(".group_fav_icon").hide();
|
||||
template.find(".ch_fav").val(group.fav);
|
||||
|
||||
|
@@ -1217,8 +1217,8 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.character_select:has(.is_fav) .avatar,
|
||||
.group_select:has(.is_fav) .avatar {
|
||||
.character_select.is_fav .avatar,
|
||||
.group_select.is_fav .avatar {
|
||||
outline: 2px solid #c5b457;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user