mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Show title entirely and cut of secondary information gracefully in typeahead results of main search
Summary: This revision increases the usability of the typeahead results of the main search (on the right in the top bar). The result texts wont't overflow in a reasonable way. | Before | After | |-----------|-----------| | {F715296} | {F715385} | The result title (red box) will now break so the user can read and understand it. The result type (blue box) will be cut off inside the padding with an ellipsis. See T15715 Test Plan: Check it out and use the main search in the top bar to create typeahead result with very long titles ;) Nothing changes for short titles. Reviewers: O1 Blessed Committers, valerio.bozzolan, avivey Reviewed By: O1 Blessed Committers, valerio.bozzolan, avivey Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15715 Differential Revision: https://we.phorge.it/D25520
This commit is contained in:
parent
2f1e271c5f
commit
b035743ce3
2 changed files with 9 additions and 6 deletions
|
@ -9,7 +9,7 @@ return array(
|
|||
'names' => array(
|
||||
'conpherence.pkg.css' => '2f25eb4f',
|
||||
'conpherence.pkg.js' => '020aebcf',
|
||||
'core.pkg.css' => '3b2df0d0',
|
||||
'core.pkg.css' => '4e0e22fb',
|
||||
'core.pkg.js' => '2eeda9e0',
|
||||
'dark-console.pkg.js' => '187792c2',
|
||||
'differential.pkg.css' => '2431def2',
|
||||
|
@ -38,7 +38,7 @@ return array(
|
|||
'rsrc/css/aphront/typeahead.css' => '8779483d',
|
||||
'rsrc/css/application/almanac/almanac.css' => '2e050f4f',
|
||||
'rsrc/css/application/auth/auth.css' => 'c2f23d74',
|
||||
'rsrc/css/application/base/main-menu-view.css' => '5d673247',
|
||||
'rsrc/css/application/base/main-menu-view.css' => '33820efe',
|
||||
'rsrc/css/application/base/notification-menu.css' => '4df1ee30',
|
||||
'rsrc/css/application/base/phui-theme.css' => '35883b37',
|
||||
'rsrc/css/application/base/standard-page-view.css' => 'e08c7462',
|
||||
|
@ -790,7 +790,7 @@ return array(
|
|||
'phabricator-flag-css' => '2b77be8d',
|
||||
'phabricator-keyboard-shortcut' => '1a844c06',
|
||||
'phabricator-keyboard-shortcut-manager' => '81debc48',
|
||||
'phabricator-main-menu-view' => '5d673247',
|
||||
'phabricator-main-menu-view' => '33820efe',
|
||||
'phabricator-nav-view-css' => '423f92cc',
|
||||
'phabricator-notification' => 'a9b91e3f',
|
||||
'phabricator-notification-css' => '30240bd2',
|
||||
|
@ -1211,6 +1211,9 @@ return array(
|
|||
'javelin-dom',
|
||||
'phabricator-notification',
|
||||
),
|
||||
'33820efe' => array(
|
||||
'phui-theme-css',
|
||||
),
|
||||
34450586 => array(
|
||||
'javelin-color',
|
||||
'javelin-install',
|
||||
|
@ -1499,9 +1502,6 @@ return array(
|
|||
'javelin-dom',
|
||||
'phuix-dropdown-menu',
|
||||
),
|
||||
'5d673247' => array(
|
||||
'phui-theme-css',
|
||||
),
|
||||
'5d83623b' => array(
|
||||
'javelin-dom',
|
||||
),
|
||||
|
|
|
@ -302,6 +302,8 @@ a.phabricator-core-user-menu .caret:before {
|
|||
background-size: 30px 30px;
|
||||
background-repeat: no-repeat;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.phabricator-main-search-typeahead-result .result-name {
|
||||
|
@ -309,6 +311,7 @@ a.phabricator-core-user-menu .caret:before {
|
|||
font-size: {$normalfontsize};
|
||||
font-weight: bold;
|
||||
color: {$darkgreytext};
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.phabricator-main-search-typeahead-result.result-closed {
|
||||
|
|
Loading…
Reference in a new issue