@@ -150,7 +150,7 @@ body {
150150.value-success {
151151 font-weight : 600 ;
152152 color : var (--color-success );
153- font-size : 0.875 rem ;
153+ font-size : 0.65 rem ;
154154}
155155
156156.value-warning {
@@ -162,7 +162,7 @@ body {
162162.value-error {
163163 font-weight : 600 ;
164164 color : var (--color-error );
165- font-size : 0.875 rem ;
165+ font-size : 0.65 rem ;
166166}
167167
168168.miners-list {
@@ -239,7 +239,7 @@ body {
239239 right : 0 ;
240240 bottom : 0 ;
241241 background-image : url ("../assets/ems.png" );
242- background-size : cover ;
242+ background-size : contain ;
243243 background-position : center;
244244 background-repeat : no-repeat;
245245 z-index : 0 ;
@@ -252,6 +252,8 @@ body {
252252 justify-content : center;
253253 align-items : center;
254254 min-height : 250px ;
255+ width : 100% ;
256+ height : 100% ;
255257}
256258
257259.pv-power-display {
@@ -392,26 +394,38 @@ body {
392394.mpc-table {
393395 width : 100% ;
394396 border-collapse : collapse;
395- font-size : 0.875rem ;
397+ font-size : 0.7rem ;
398+ table-layout : fixed;
396399}
397400
398401.mpc-table thead {
399402 background-color : rgba (51 , 65 , 85 , 0.7 );
400403}
401404
402405.mpc-table th {
403- padding : 0.75 rem 1 rem ;
406+ padding : 0.4 rem 0.5 rem ;
404407 text-align : left;
405408 font-weight : 600 ;
406409 color : var (--color-text );
407410 border-bottom : 2px solid var (--color-border );
408411 text-transform : uppercase;
409- font-size : 0.75rem ;
410- letter-spacing : 0.05em ;
412+ font-size : 0.65rem ;
413+ letter-spacing : 0.03em ;
414+ }
415+
416+ .mpc-table th : first-child ,
417+ .mpc-table td : first-child {
418+ width : 120px ;
419+ }
420+
421+ .mpc-table th : not (: first-child ),
422+ .mpc-table td : not (: first-child ) {
423+ width : 25px ;
424+ text-align : center;
411425}
412426
413427.mpc-table td {
414- padding : 0.75 rem 1 rem ;
428+ padding : 0.4 rem 0.5 rem ;
415429 border-bottom : 1px solid var (--color-border );
416430 color : var (--color-text );
417431}
@@ -428,29 +442,15 @@ body {
428442 border-bottom : none;
429443}
430444
431- /* Prevent wrapping in forecast and profit columns */
432- .mpc-table th : nth-child (5 ),
433- .mpc-table th : nth-child (6 ),
434- .mpc-table th : nth-child (7 ),
435- .mpc-table th : nth-child (8 ),
436- .mpc-table th : nth-child (9 ),
437- .mpc-table td : nth-child (5 ),
438- .mpc-table td : nth-child (6 ),
439- .mpc-table td : nth-child (7 ),
440- .mpc-table td : nth-child (8 ),
441- .mpc-table td : nth-child (9 ) {
442- white-space : nowrap;
443- }
444-
445445/* Forecast data header styling */
446446.mpc-table thead tr : first-child th {
447447 vertical-align : middle;
448448}
449449
450450.mpc-table thead tr : nth-child (2 ) th {
451- padding-top : 0.5 rem ;
452- padding-bottom : 0.75 rem ;
453- font-size : 0.7 rem ;
451+ padding-top : 0.3 rem ;
452+ padding-bottom : 0.4 rem ;
453+ font-size : 0.6 rem ;
454454}
455455
456456.action-charge ,
@@ -513,19 +513,72 @@ body {
513513 }
514514
515515 .devices-section {
516- min-height : 200px ;
516+ min-height : auto;
517+ padding : 1rem ;
518+ }
519+
520+ .devices-section ::before {
521+ /* Hide background image on mobile */
522+ display : none;
517523 }
518524
519525 .devices-content {
520- min-height : 150px ;
526+ min-height : auto;
527+ flex-direction : column;
528+ gap : 1rem ;
529+ padding : 0 ;
530+ position : static !important ;
531+ }
532+
533+ /* Wrapper for power displays with mobile labels */
534+ .devices-content .power-display-wrapper {
535+ position : static !important ;
536+ margin : 0 auto;
537+ width : 100% ;
538+ max-width : 280px ;
539+ display : flex;
540+ flex-direction : column;
541+ align-items : center;
542+ }
543+
544+ /* Show label from data attribute on mobile */
545+ .devices-content .power-display-wrapper ::before {
546+ content : attr (data-mobile-label);
547+ font-size : 0.875rem ;
548+ font-weight : 600 ;
549+ color : var (--color-text-secondary );
550+ text-transform : uppercase;
551+ letter-spacing : 0.05em ;
552+ margin-bottom : 0.5rem ;
553+ text-align : center;
554+ }
555+
556+ /* Convert absolute positioned PowerDisplay components to static flow on mobile */
557+ .devices-content .power-display-wrapper .pv-power-display {
558+ position : static !important ;
559+ margin : 0 auto;
560+ width : 100% ;
561+ padding : 1rem 1.5rem ;
562+ display : flex;
563+ flex-direction : column;
564+ align-items : center;
521565 }
522566
523- .pv-power-display {
524- padding : 1.5rem 2rem ;
567+ .devices-content .solar-info {
568+ position : static !important ;
569+ width : 100% !important ;
570+ max-width : 280px ;
571+ margin : 0 auto;
525572 }
526573
527574 .pv-power-value {
528- font-size : 2rem ;
575+ font-size : 1.5rem ;
576+ }
577+
578+ .pv-power-label {
579+ font-size : 0.875rem ;
580+ margin-bottom : 0.5rem ;
581+ margin-top : 0 !important ;
529582 }
530583
531584 .mpc-summary {
0 commit comments