Переглянути джерело

Fix suggestions box style for long names

master
Eugen Rochko 7 роки тому
джерело
коміт
aa9d48343d
1 змінених файлів з 7 додано та 3 видалено
  1. +7
    -3
      app/assets/javascripts/components/features/compose/components/suggestions_box.jsx

+ 7
- 3
app/assets/javascripts/components/features/compose/components/suggestions_box.jsx Переглянути файл

@@ -30,11 +30,15 @@ const itemStyle = {

const displayNameStyle = {
display: 'block',
fontWeight: '500'
fontWeight: '500',
overflow: 'hidden',
textOverflow: 'ellipsis'
};

const acctStyle = {
display: 'block'
display: 'block',
overflow: 'hidden',
textOverflow: 'ellipsis'
};

const SuggestionsBox = React.createClass({
@@ -46,7 +50,7 @@ const SuggestionsBox = React.createClass({
mixins: [PureRenderMixin],

render () {
const accounts = this.props.accounts.take(2);
const accounts = this.props.accounts.take(3);

return (
<div style={outerStyle}>


Завантаження…
Відмінити
Зберегти