mobile fixes: close charlist on char select, hide L/R panel locks, larger charlist back button

9298a34feab05c184298571fbd02f91b45acfa21

RossAscends <rossascendshamma@gmail.com>

2 files changed, +13 -0Showing whitespace changes
public/css/mobile-styles.css+9 -0
@@ -10,6 +10,15 @@
10 flex-basis: 100%;10 flex-basis: 100%;
11 }11 }
1212
13 #rm_button_panel_pin_div,
14 #lm_button_panel_pin_div{
15 display: none;
16 }
17
18 #rm_button_characters {
19 font-size: 3em;
20 }
21
1322
14 #send_form.compact #leftSendForm,23 #send_form.compact #leftSendForm,
15 #send_form.compact #rightSendForm {24 #send_form.compact #rightSendForm {
public/script.js+4 -0
@@ -812,6 +812,10 @@ export async function selectCharacterById(id, { switchMenu = true } = {}) {
812 await unshallowCharacter(this_chid);812 await unshallowCharacter(this_chid);
813 select_selected_character(this_chid, { switchMenu });813 select_selected_character(this_chid, { switchMenu });
814 }814 }
815
816 if (isMobile()) {
817 $('#rightNavDrawerIcon').trigger('click');
818 }
815}819}
816820
817function getBackBlock() {821function getBackBlock() {