1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 20:10:55 +01:00

Use ellipis on long hovercard headers

Summary: This is a little cleaner than just cutting the title, like on Legalpad Hovercards

Test Plan: Test a Legalpad hovercard.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12722
This commit is contained in:
Chad Little 2015-05-05 12:46:13 -07:00
parent 3463a0d497
commit 12dbb62d18
2 changed files with 9 additions and 2 deletions

View file

@ -116,7 +116,7 @@ return array(
'rsrc/css/font/font-source-sans-pro.css' => '8906c07b',
'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3',
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '44394670',
'rsrc/css/layout/phabricator-hovercard-view.css' => 'f5f18f7d',
'rsrc/css/layout/phabricator-side-menu-view.css' => 'c1db9e9c',
'rsrc/css/layout/phabricator-source-code-view.css' => '2ceee894',
'rsrc/css/phui/calendar/phui-calendar-day.css' => '75b8cc4a',
@ -734,7 +734,7 @@ return array(
'phabricator-filetree-view-css' => 'fccf9f82',
'phabricator-flag-css' => '5337623f',
'phabricator-hovercard' => '7e8468ae',
'phabricator-hovercard-view-css' => '44394670',
'phabricator-hovercard-view-css' => 'f5f18f7d',
'phabricator-keyboard-shortcut' => '1ae869f2',
'phabricator-keyboard-shortcut-manager' => 'c1700f6f',
'phabricator-main-menu-view' => '663e3810',

View file

@ -29,6 +29,13 @@
border-bottom: 1px solid {$thinblueborder};
}
.phabricator-hovercard-head .phui-action-header-title {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
width: 380px;
}
.phabricator-hovercard-head .phui-action-header {
border-top-right-radius: 3px;
border-top-left-radius: 3px;