@@ -220,19 +220,19 @@ Current version indicated by LITEVER below.
220220 }
221221 .aesthetic_viewport_height
222222 {
223- height: calc(98vh - 160px );
223+ height: calc(98vh - 190px );
224224 }
225225 .aesthetic_viewport_height.withmenu
226226 {
227- height: calc(98vh - 198px );
227+ height: calc(98vh - 238px );
228228 }
229229 .aesthetic_viewport_height.withtyping
230230 {
231- height: calc(98vh - 210px );
231+ height: calc(98vh - 250px );
232232 }
233233 .aesthetic_viewport_height.withmenu.withtyping
234234 {
235- height: calc(98vh - 248px );
235+ height: calc(98vh - 288px );
236236 }
237237
238238 /* Top nav menu */
@@ -1909,9 +1909,37 @@ Current version indicated by LITEVER below.
19091909 padding-left: 8px;
19101910 padding-right: 8px;
19111911 transition: transform 0.3s ease;
1912- height: calc(100vh - 68px);
19131912 z-index: 1;
19141913 }
1914+
1915+ @media (max-width: 700px), (min-width: 1400px) {
1916+ .aesthetic_viewport_height
1917+ {
1918+ height: calc(98vh - 160px);
1919+ }
1920+ .aesthetic_viewport_height.withmenu
1921+ {
1922+ height: calc(98vh - 198px);
1923+ }
1924+ .aesthetic_viewport_height.withtyping
1925+ {
1926+ height: calc(98vh - 210px);
1927+ }
1928+ .aesthetic_viewport_height.withmenu.withtyping
1929+ {
1930+ height: calc(98vh - 248px);
1931+ }
1932+
1933+ .corpoleftpanel, .corporightpanel
1934+ {
1935+ height: calc(100vh - 68px);
1936+ }
1937+
1938+ .corpoleftpanelitems
1939+ {
1940+ height: calc(100% - 20px);
1941+ }
1942+ }
19151943 body.darkmode .corpoleftpanel
19161944 {
19171945 background-color: #161616;
@@ -1939,7 +1967,7 @@ Current version indicated by LITEVER below.
19391967 flex-direction: column;
19401968 margin-top: 10px;
19411969 padding: 2px;
1942- height: calc(100% - 20px );
1970+ height: calc(100% - 60px );
19431971 }
19441972 .corpoleftpanelitemsinner
19451973 {
@@ -2014,7 +2042,7 @@ Current version indicated by LITEVER below.
20142042 .corporightpanel
20152043 {
20162044 width: 100%;
2017- height: calc(100vh - 68px );
2045+ height: calc(100vh - 120px );
20182046 display: flex;
20192047 flex-direction: column;
20202048 padding-left: 2px;
@@ -24267,7 +24295,7 @@ Current version indicated by LITEVER below.
2426724295 function render_aesthetic_ui(input, isPreview) //class suffix string used to prevent defined styles from leaking into global scope
2426824296 {
2426924297 const avatarImage = function(for_ai, source = undefined, name = undefined) { //todo: this is still bad code, but will keep it for now
24270- if((for_ai && !as.AI_portrait) || (!for_ai && !as.you_portrait) || as.border_style == 'None')
24298+ if(as.border_style == 'None')
2427124299 {
2427224300 return ''; //for no portrait
2427324301 }
@@ -24276,21 +24304,26 @@ Current version indicated by LITEVER below.
2427624304 let width, height;
2427724305 let imgclassname = "";
2427824306 let imageToUse = getImageForSource(source, name);
24279- if (imageToUse !== undefined)
24307+ if (imageToUse === undefined && ((for_ai && !as.AI_portrait) || (!for_ai && !as.you_portrait)) )
2428024308 {
24281- width = as.portrait_width_AI;
24282- height = (as.border_style == 'Circle' ? as.portrait_width_AI : as.portrait_width_AI / as.portrait_ratio_AI);
24309+ return "";
2428324310 }
2428424311 else if (!for_ai)
2428524312 {
2428624313 width = as.portrait_width_you;
2428724314 height = (as.border_style == 'Circle' ? as.portrait_width_you : as.portrait_width_you / as.portrait_ratio_you);
24288- imgclassname = "you-portrait-image";
24315+ if (imageToUse === undefined)
24316+ {
24317+ imgclassname = "you-portrait-image";
24318+ }
2428924319 }
2429024320 else {
2429124321 width = as.portrait_width_AI;
2429224322 height = (as.border_style == 'Circle' ? as.portrait_width_AI : as.portrait_width_AI / as.portrait_ratio_AI);
24293- imgclassname = "AI-portrait-image";
24323+ if (imageToUse === undefined)
24324+ {
24325+ imgclassname = "AI-portrait-image";
24326+ }
2429424327 }
2429524328 return `<div class='${imgclassname}${classSuffixStr}${reinvertcolor} containAndScaleImage' style='width:${width}px; height:${height}px; border-radius: ${radius}; ${!!imageToUse ? `background-image:${imageToUse}; margin: 10px 6px; border:none;` : ""}'></div>`;
2429624329 }
@@ -36950,7 +36983,7 @@ flowchart TD\n${treeToViewOutput.outputText.trim()}`
3695036983 .workerpopup, .scenariopopup, #settingscontainerfg {
3695136984 margin-top: unset;
3695236985 }
36953-
36986+
3695436987 @media (min-width: 600px) {
3695536988 #wilist:not(.sidepanelsize) {
3695636989 max-height: calc(90% - 70px)
0 commit comments