Skip to content

Commit d7c79f5

Browse files
author
Halla Moore
committed
💄(messages): Remove max-width styles
Although some word-wrapping may look better at 800px, it looks much worse when we can't properly display html emails that are meant for a wider area. It also just seems a little weird to limit our users in this way.
1 parent aae737e commit d7c79f5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal_packages/message-list/stylesheets/message-list.less

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import "ui-variables";
22
@import "ui-mixins";
33

4-
@message-max-width: 800px;
54
@message-spacing: 6px;
65

76
.tag-picker {
@@ -168,7 +167,6 @@ body.platform-win32 {
168167
}
169168

170169
.message-subject-wrap {
171-
max-width: @message-max-width;
172170
margin: 5px auto 10px auto;
173171
-webkit-user-select: text;
174172
line-height: @font-size-large * 1.8;
@@ -207,7 +205,6 @@ body.platform-win32 {
207205
.message-list-headers {
208206
margin: 0 auto;
209207
width: 100%;
210-
max-width: @message-max-width;
211208
display:block;
212209

213210
.participants {
@@ -239,7 +236,6 @@ body.platform-win32 {
239236
.message-item-wrap {
240237
transition: height 0.1s;
241238
position: relative;
242-
max-width: @message-max-width;
243239
margin: 0 auto;
244240

245241
.message-item-white-wrap {
@@ -344,7 +340,6 @@ body.platform-win32 {
344340
}
345341
}
346342
.msg-lines {
347-
max-width: @message-max-width;
348343
margin: 0 auto;
349344
width: 100%;
350345
margin-top: -13px;
@@ -464,7 +459,6 @@ body.platform-win32 {
464459

465460
.message-item-area {
466461
width: 100%;
467-
max-width: @message-max-width;
468462
margin: 0 auto;
469463
padding: 0 20px @spacing-standard 20px;
470464

@@ -502,10 +496,7 @@ body.platform-win32 {
502496

503497
.footer-reply-area-wrap {
504498
overflow: hidden;
505-
506-
max-width: @message-max-width;
507499
margin: -3px auto 0 auto;
508-
509500
position: relative;
510501
z-index: 2;
511502

@@ -524,7 +515,6 @@ body.platform-win32 {
524515

525516
.footer-reply-area {
526517
width: 100%;
527-
max-width: @message-max-width;
528518
margin: 0 auto;
529519
padding: 12px @spacing-standard * 1.5;
530520
}

0 commit comments

Comments
 (0)