diff --git a/internal_packages/category-picker/stylesheets/category-picker.less b/internal_packages/category-picker/stylesheets/category-picker.less index b3c596a61..b234e572c 100644 --- a/internal_packages/category-picker/stylesheets/category-picker.less +++ b/internal_packages/category-picker/stylesheets/category-picker.less @@ -16,6 +16,7 @@ body.platform-win32 { .menu { background: @background-secondary; width: @popover-width; + max-height: 400px; .header-container { border-bottom: 0; diff --git a/internal_packages/composer-templates/stylesheets/message-templates.less b/internal_packages/composer-templates/stylesheets/message-templates.less index d76ee8a4e..b40c7fc37 100755 --- a/internal_packages/composer-templates/stylesheets/message-templates.less +++ b/internal_packages/composer-templates/stylesheets/message-templates.less @@ -7,6 +7,7 @@ .menu { .content-container { height:150px; + width: 210px; overflow-y:scroll; } .footer-container { @@ -85,7 +86,7 @@ margin: 0 0 0 8px; } } - + .section-body { padding: 10px 0 0 0; diff --git a/internal_packages/composer-translate/stylesheets/translate.less b/internal_packages/composer-translate/stylesheets/translate.less index a57e8bc06..fa8e3e76c 100644 --- a/internal_packages/composer-translate/stylesheets/translate.less +++ b/internal_packages/composer-translate/stylesheets/translate.less @@ -8,6 +8,7 @@ } .content-container { height:185px; + width:170px; overflow:scroll; } } diff --git a/internal_packages/composer/stylesheets/composer.less b/internal_packages/composer/stylesheets/composer.less index 433a450f3..9dd0f40c4 100644 --- a/internal_packages/composer/stylesheets/composer.less +++ b/internal_packages/composer/stylesheets/composer.less @@ -316,11 +316,11 @@ body.platform-win32 { &:hover { .primary-item, .only-item { - border-radius: 4px; + border-radius: @border-radius-base; } } .secondary-items { - border-radius: 4px; + border-radius: @border-radius-base; } .item { .contact.is-alias { diff --git a/internal_packages/message-list/lib/message-participants.cjsx b/internal_packages/message-list/lib/message-participants.cjsx index 5c3ac44d5..cb3b21a55 100644 --- a/internal_packages/message-list/lib/message-participants.cjsx +++ b/internal_packages/message-list/lib/message-participants.cjsx @@ -29,19 +29,9 @@ class MessageParticipants extends React.Component _allToParticipants: => _.union(@props.to, @props.cc, @props.bcc) - _selectPlainText: (e) => + _selectText: (e) => textNode = e.currentTarget.childNodes[0] - @_selectText(textNode) - _selectCommaText: (e) => - textNode = e.currentTarget.childNodes[0].childNodes[0] - @_selectText(textNode) - - _selectBracketedText: (e) => - textNode = e.currentTarget.childNodes[1].childNodes[0] # because of React rendering - @_selectText(textNode) - - _selectText: (textNode) => range = document.createRange() range.setStart(textNode, 0) range.setEnd(textNode, textNode.length) @@ -67,12 +57,18 @@ class MessageParticipants extends React.Component if c.name?.length > 0 and c.name isnt c.email
- {c.name}  - <{c.email}>{comma}  +
+ {c.name} +
+
+ {"<"}{c.email}{">#{comma}"} +
else
- {c.email}{comma}  +
+ {c.email}{comma} +
) diff --git a/internal_packages/message-list/stylesheets/message-list.less b/internal_packages/message-list/stylesheets/message-list.less index b7e75c427..a1ed0191d 100644 --- a/internal_packages/message-list/stylesheets/message-list.less +++ b/internal_packages/message-list/stylesheets/message-list.less @@ -76,12 +76,10 @@ body.platform-win32 { .message-toolbar-arrow.down { order:201; margin-right: 0; - padding-top:6px; margin-left: @spacing-standard * 1.5; } .message-toolbar-arrow.up { order:202; - padding-top:6px; // <1 because of hit region padding on the button margin-right: @spacing-standard * 0.75; } @@ -130,6 +128,7 @@ body.platform-win32 { line-height: @font-size-large * 1.8; display: flex; align-items: center; + padding: 0 @padding-large-horizontal; } .mail-important-icon { margin-right:@spacing-half; @@ -146,7 +145,6 @@ body.platform-win32 { cursor: pointer; -webkit-user-select: none; margin-left: auto; - margin-right: @padding-large-horizontal; display: flex; align-items: center; @@ -192,10 +190,7 @@ body.platform-win32 { width: calc(~"100% - 12px"); margin: 0 auto; - padding: @message-spacing 0; - &:last-child { - padding-bottom: @spacing-double; - } + .message-item-white-wrap { background: @background-primary; border: 0; @@ -203,6 +198,7 @@ body.platform-win32 { border-radius: 4px; } + padding-bottom: @message-spacing * 2; &.before-reply-area { padding-bottom: 0; } &.collapsed { @@ -285,7 +281,7 @@ body.platform-win32 { top: 50%; left: 50%; margin-left: -80px; - margin-top: -14px; + margin-top: -15px; border-radius: 15px; border: 1px solid @border-color-divider; width: 160px; @@ -425,7 +421,7 @@ body.platform-win32 { width: 100%; border: 0; padding: 0; - margin-top: 5px; + margin-top: 10px; overflow: auto; } } @@ -554,7 +550,7 @@ body.platform-win32 { .participant { display: inline-block; - margin-right: 0.5em; + margin-right: 0.25em; } .participant-type { @@ -580,9 +576,12 @@ body.platform-win32 { .participant-primary { color: @text-color-very-subtle; + margin-right: 0.15em; + display:inline-block; } .participant-secondary { color: @text-color-very-subtle; + display:inline-block; } .from-contact { diff --git a/internal_packages/mode-switch/stylesheets/mode-switch.less b/internal_packages/mode-switch/stylesheets/mode-switch.less index 9d1543748..e4c8ac41c 100644 --- a/internal_packages/mode-switch/stylesheets/mode-switch.less +++ b/internal_packages/mode-switch/stylesheets/mode-switch.less @@ -1,11 +1,8 @@ @import 'ui-variables'; .btn-toolbar.mode-toggle { - z-index: 1000; - position: relative; - img.content-mask { - background-color: @text-color-subtle; - } + z-index: 1000; + position: relative; } .btn-toolbar.mode-toggle.mode-false { img.content-mask { diff --git a/internal_packages/search-bar/stylesheets/search-bar.less b/internal_packages/search-bar/stylesheets/search-bar.less index 58297a894..7ee701b81 100644 --- a/internal_packages/search-bar/stylesheets/search-bar.less +++ b/internal_packages/search-bar/stylesheets/search-bar.less @@ -8,8 +8,6 @@ z-index: 100; width:450px; margin-top: (38px - 23px) / 2; - margin-left: 12px; - margin-right: 12px; .menu .header-container { padding:0; diff --git a/src/components/popover.cjsx b/src/components/popover.cjsx index 8e7222a2f..94eee98f7 100644 --- a/src/components/popover.cjsx +++ b/src/components/popover.cjsx @@ -154,7 +154,7 @@ class Popover extends React.Component 'top': -10, pointerStyle = _.extend pointerStyle, 'transform': 'translateX(-50%)' - 'bottom': -10 + 'bottom': -21 else if @props.direction is 'down' popoverStyle = _.extend popoverStyle, @@ -162,7 +162,7 @@ class Popover extends React.Component 'top': '100%' pointerStyle = _.extend pointerStyle, 'transform': 'rotateX(180deg)' - 'top': -10 + 'top': -21 'left':-12 if @props.direction is "down-align-left" @@ -176,6 +176,7 @@ class Popover extends React.Component popoverComponent =
{@props.children}
+