File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 109
109
</div >
110
110
</template >
111
111
112
- <Thread v-if =" showThread" @delete =" deleteMessage" />
112
+ <Thread v-if =" showThread" :current-account-email = " account.emailAddress " @delete =" deleteMessage" />
113
113
<NoMessageSelected v-else-if =" hasEnvelopes" />
114
114
</AppContent >
115
115
</template >
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export default {
180
180
}
181
181
182
182
.reply - buttons {
183
- margin: 26px 30px 0 50px ;
183
+ margin: 0 calc ( var ( -- default - grid - baseline) * 4 ) calc ( var ( -- default - grid - baseline) * 2 ) calc ( var ( -- default - grid - baseline) * 14 ) ;
184
184
display: flex;
185
185
flex- wrap: wrap;
186
186
gap: 5px ;
@@ -205,7 +205,6 @@ export default {
205
205
206
206
& __notsuggested {
207
207
margin- inline- start: auto;
208
- margin- inline- end: - 12px ;
209
208
}
210
209
}
211
210
@media screen and (max - width : 600px ) {
Original file line number Diff line number Diff line change @@ -173,8 +173,7 @@ export default {
173
173
< style lang= " scss" scoped>
174
174
// account for 8px margin on iframe body
175
175
.html - message- body {
176
- margin- inline- start: 50px ;
177
- margin- top: 2px ;
176
+ margin : 2px calc (var (-- default- grid- baseline) * 2 ) 0 calc (var (-- default- grid- baseline) * 14 );
178
177
background- color: #FFFFFF ;
179
178
}
180
179
Original file line number Diff line number Diff line change @@ -93,6 +93,12 @@ export default {
93
93
ThreadEnvelope,
94
94
Popover,
95
95
},
96
+ props: {
97
+ currentAccountEmail: {
98
+ type: String ,
99
+ required: true ,
100
+ },
101
+ },
96
102
97
103
data () {
98
104
return {
@@ -165,7 +171,7 @@ export default {
165
171
threadParticipants () {
166
172
const recipients = this .thread .flatMap (envelope => {
167
173
return envelope .from .concat (envelope .to ).concat (envelope .cc )
168
- })
174
+ }). filter ( participant => participant . email !== this . currentAccountEmail )
169
175
return uniqBy (prop (' email' ), recipients)
170
176
},
171
177
threadSubject () {
@@ -558,7 +564,7 @@ export default {
558
564
559
565
.mail - message- body {
560
566
flex: 1 ;
561
- margin- bottom: calc (var (-- default- grid- baseline) * 7 );
567
+ margin- bottom: calc (var (-- default- grid- baseline) * 2 );
562
568
position: relative;
563
569
}
564
570
@@ -599,7 +605,8 @@ export default {
599
605
// initial width
600
606
width: 0 ;
601
607
// while scrolling, the back button overlaps with subject on small screen
602
- padding- inline- start: calc (var (-- border- radius- container- large) + var (-- header- height));
608
+ // 66px to allign with the sender Envelope -> 8px margin + 2px border+ avatar -> 40px width + envelope__header -> 8px padding + sender-> margin 8px
609
+ padding- inline- start: 66px ;
603
610
// grow and try to fill 100%
604
611
flex: 1 1 auto;
605
612
h2,
@@ -639,7 +646,7 @@ export default {
639
646
}
640
647
641
648
#mail- content {
642
- margin: calc (var (-- default- grid- baseline) * 2 ) calc (var (-- default- grid- baseline) * 10 ) 0 calc (var (-- default- grid- baseline) * 15 );
649
+ margin: calc (var (-- default- grid- baseline) * 2 ) calc (var (-- default- grid- baseline) * 10 ) 0 calc (var (-- default- grid- baseline) * 14 );
643
650
}
644
651
645
652
#mail- content iframe {
You can’t perform that action at this time.
0 commit comments