]> cat aescling's git repositories - mastodon.git/commit
fix(dropdowns): Allow for dropdowns to fill full column (#2684)
authorStephen Burgess <stephenburgess8@gmail.com>
Mon, 1 May 2017 16:13:10 +0000 (12:13 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 1 May 2017 16:13:10 +0000 (18:13 +0200)
commit33b9e8d4612765ec53a5ea02a86a18f3e2da5a07
treea844c2acb7e57698fd406737e2efa6408b8c23c4
parentf025cc67827a5b1b1faf10dec9d5a1e14e67fa5f
fix(dropdowns): Allow for dropdowns to fill full column (#2684)

* fix(dropdowns): Allow for dropdowns to fill full column

When the text inside a dropdown is longer than it is for English, the text is truncated which can result in a less-than-usable experience for languages such as German with longer words. This commit addresses the following:

* Allow the dropdown to expand to the entire width of the column based on the length of the text in the dropdown
* Align active dropdown arrow in relation to the trigger rather than the dropdown
* Show the right hand side of the dropdown which was previously hidden (could not see border radius)
* Ensure the three places dropdowns of status, account, and emoji appear well in Chrome, Firefox, Safari

* fix(emoji-dropdown): Restore emoji dropdown caret
app/assets/javascripts/components/features/compose/components/emoji_picker_dropdown.jsx
app/assets/stylesheets/components.scss