From 872418757ce1fb8e8393da585a234a0a1366af26 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:13:01 +0200 Subject: [PATCH] #1761 Personas grid view (slight return) --- public/css/toggle-dependent.css | 23 +++++++++++++++++------ public/index.html | 5 +++-- public/scripts/personas.js | 13 +++++++++++++ public/style.css | 14 ++++++-------- 4 files changed, 39 insertions(+), 16 deletions(-) diff --git a/public/css/toggle-dependent.css b/public/css/toggle-dependent.css index edded8de5..ea440fb9c 100644 --- a/public/css/toggle-dependent.css +++ b/public/css/toggle-dependent.css @@ -36,7 +36,8 @@ body.charListGrid #rm_print_characters_block { } body.charListGrid #rm_print_characters_block .bogus_folder_select, -body.charListGrid #rm_print_characters_block .character_select { +body.charListGrid #rm_print_characters_block .character_select, +#user_avatar_block.gridView .avatar-container { width: 30%; align-items: flex-start; height: min-content; @@ -47,7 +48,8 @@ body.charListGrid #rm_print_characters_block .character_select { body.charListGrid #rm_print_characters_block .bogus_folder_select .ch_name, body.charListGrid #rm_print_characters_block .character_select .ch_name, -body.charListGrid #rm_print_characters_block .group_select .ch_name { +body.charListGrid #rm_print_characters_block .group_select .ch_name, +#user_avatar_block.gridView .avatar-container .ch_name { width: 100%; max-width: 100px; text-align: center; @@ -55,12 +57,20 @@ body.charListGrid #rm_print_characters_block .group_select .ch_name { } body.charListGrid #rm_print_characters_block .bogus_folder_select .character_name_block, -body.charListGrid #rm_print_characters_block .character_select .character_name_block { +body.charListGrid #rm_print_characters_block .character_select .character_name_block, +#user_avatar_block.gridView .avatar-container .character_name_block { width: 100%; + flex-direction: column; +} + +#user_avatar_block.gridView .avatar-container .avatar-buttons { + flex-wrap: wrap; + justify-content: space-evenly; } body.charListGrid #rm_print_characters_block .bogus_folder_select .character_select_container, -body.charListGrid #rm_print_characters_block .character_select .character_select_container { +body.charListGrid #rm_print_characters_block .character_select .character_select_container, +#user_avatar_block.gridView .avatar-container .character_select_container { width: 100%; justify-content: center; max-width: 100px; @@ -83,7 +93,8 @@ body.charListGrid #rm_print_characters_block .bogus_folder_counter_block, body.charListGrid #rm_print_characters_block .ch_description, body.charListGrid #rm_print_characters_block .tags_inline, body.charListGrid #rm_print_characters_block .character_version, -body.charListGrid #rm_print_characters_block .ch_avatar_url { +body.charListGrid #rm_print_characters_block .ch_avatar_url, +#user_avatar_block.gridView .avatar-container .ch_description { display: none; } @@ -150,7 +161,7 @@ body.big-avatars .avatar_collage { } body.big-avatars .ch_description, -.avatar-container .ch_description { +body.big-avatars .avatar-container .ch_description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; diff --git a/public/index.html b/public/index.html index f36500e50..618f151a5 100644 --- a/public/index.html +++ b/public/index.html @@ -3656,7 +3656,7 @@