@@ -581,7 +581,6 @@ export default {
581581
582582< style lang= " scss" >
583583#mail- message {
584- margin- bottom: 30vh ;
585584 width: 100 % ;
586585 max- width: 100 % ;
587586
@@ -594,8 +593,9 @@ export default {
594593
595594.mail - message- body {
596595 flex: 1 ;
597- margin- bottom: calc ( var ( -- default - grid - baseline) * 2 ) ;
596+ margin- bottom: 0 ;
598597 position: relative;
598+ border- radius: 5px ;
599599}
600600
601601#mail- thread- header {
@@ -631,6 +631,13 @@ export default {
631631 }
632632}
633633
634+ @media only screen and (max - width : 1024px ) {
635+ #mail- thread- header {
636+ position: sticky ! important;
637+ top: 29px ! important;
638+ }
639+ }
640+
634641#mail- thread- header- fields {
635642 // initial width
636643 width: 0 ;
@@ -639,6 +646,8 @@ export default {
639646 padding- inline- start: 66px ;
640647 // grow and try to fill 100%
641648 flex: 1 1 auto;
649+ background: var (-- color- main- background);
650+ margin- right: 5px ;
642651 h2,
643652 p {
644653 padding- bottom: calc (var (-- default- grid- baseline) * 2 );
@@ -659,9 +668,16 @@ export default {
659668 }
660669 }
661670}
671+
672+ @media only screen and (max - width : 1024px ) {
673+ #mail- thread- header- fields {
674+ padding- inline- start: 48px ;
675+ }
676+ }
677+
662678@media only screen and (max - width : 1024px ) {
663679 #mail- thread- header- fields {
664- margin- top: - 20px ;
680+ margin- top: - 32px ;
665681 }
666682}
667683
@@ -679,6 +695,12 @@ export default {
679695 margin: calc (var (-- default- grid- baseline) * 2 ) calc (var (-- default- grid- baseline) * 10 ) 0 calc (var (-- default- grid- baseline) * 14 );
680696}
681697
698+ @media only screen and (max- width: var (-- breakpoint- mobile)) {
699+ #mail- content {
700+ margin: calc (var (-- default- grid- baseline) * 2 ) calc (var (-- default- grid- baseline) * 3 ) 0 calc (var (-- default- grid- baseline) * 3 );
701+ }
702+ }
703+
682704#mail- content iframe {
683705 width: 100 % ;
684706}
@@ -723,9 +745,10 @@ export default {
723745}
724746
725747.avatar - more {
726- display: inline ;
748+ display: flex ;
727749 background- color: var (-- color- background- dark);
728750 border- radius: var (-- border- radius- large);
751+ align- items: center;
729752 cursor: pointer;
730753}
731754
0 commit comments