Mailspring/static/mixins/common-ui-elements.less
Evan Morikawa 93ea9c6165 fix(*): can select participant with space if it's an email
Summary:
Fixes T2272

If the label is too long, the unread icons will now ellipsis truncate the
text correctly instead of being pushed off of the side.

I made the max-width of the sidebar 17px wider to allow for Karim's french
"Inbox" translation.

Fixes T2266

Added some more protection to places where filenames could be blank when
downloading.

This was partially fixed by Rob's D1685

Fixes T2258

You can now finish selecting a participant by pressing `space`, but only
when the participant looks like an email address.

When you do this we directly add the email address to the chip instead of
looking up a contact. This allows you to send just to the email instead of
adding a potentially erroneous name into the input field

Test Plan: edgehill --test

Reviewers: bengotow

Reviewed By: bengotow

Maniphest Tasks: T2272, T2266, T2258

Differential Revision: https://phab.nylas.com/D1729
2015-07-13 10:25:30 -04:00

17 lines
536 B
Text

@import "ui-variables";
// A Mixin holding common UI elements.
// A box to hold counts of things (like number of items in a tag, or
// number of messages in a thread)
.item-count-box {
float: right;
min-width: 26px;
text-align: center;
display: inline;
font-size: @font-size-smaller;
padding: @padding-xs-vertical @padding-xs-horizontal @padding-xs-vertical @padding-xs-horizontal;
margin-top: floor(@line-height-large - @line-height-small)/2;
line-height: @line-height-small;
border-radius: @border-radius-small;
}