1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-05 03:18:25 +01:00

Clean up Hovercard CSS

Summary: Cleans up some wonkiness in rendering edge cases, like long titles.

Test Plan:
Test long titles and UI Examples.

{F164546}

{F164547}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9433
This commit is contained in:
Chad Little 2014-06-09 11:46:57 -07:00
parent 874954ba20
commit 7f1c07973d
2 changed files with 7 additions and 17 deletions

View file

@ -115,7 +115,7 @@ return array(
'rsrc/css/layout/phabricator-action-list-view.css' => 'dcbfc854',
'rsrc/css/layout/phabricator-crumbs-view.css' => '989a48b6',
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '92b1cb9b',
'rsrc/css/layout/phabricator-hovercard-view.css' => 'e010d7db',
'rsrc/css/layout/phabricator-side-menu-view.css' => 'a2ccd7bd',
'rsrc/css/layout/phabricator-source-code-view.css' => '62a99814',
'rsrc/css/phui/calendar/phui-calendar-day.css' => 'de035c8a',
@ -701,7 +701,7 @@ return array(
'phabricator-filetree-view-css' => 'fccf9f82',
'phabricator-flag-css' => '5337623f',
'phabricator-hovercard' => '4f344388',
'phabricator-hovercard-view-css' => '92b1cb9b',
'phabricator-hovercard-view-css' => 'e010d7db',
'phabricator-keyboard-shortcut' => '1ae869f2',
'phabricator-keyboard-shortcut-manager' => 'ad7a69ca',
'phabricator-main-menu-view' => '72d1d2ef',

View file

@ -45,20 +45,15 @@
}
.phabricator-hovercard-body {
float: left;
width: 100%;
padding: 12px 0;
padding: 12px 8px;
color: {$darkgreytext};
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.phabricator-hovercard-body-header {
margin: 0 0 0 8px;
position: relative;
}
.phabricator-hovercard-body-item {
margin: 2px 0 0 8px;
margin: 2px 0 0 0px;
}
.phabricator-hovercard-body-header {
@ -69,26 +64,21 @@
}
.phabricator-hovercard-body .phabricator-hovercard-body-image {
clear: left;
float: left;
width: 58px;
position: absolute;
}
.phabricator-hovercard-body .phabricator-hovercard-body-details {
clear: right;
float: left;
width: 342px;
margin-left: 58px;
}
.phabricator-hovercard-body .profile-header-picture-frame {
float: left;
margin: 0px 8px 0px 8px;
width: 50px;
height: 50px;
background-position: center;
background-repeat: no-repeat;
}
.phabricator-hovercard-tail {
width: 396px;
float: left;