@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix project hovercard tag alignment

Summary: Fix tag alignment on project cards when there are multiple tags. Also fixes T12381.

Test Plan: Review a project and people hovercard in sandbox, ensure multiple tags look as expected.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12381

Differential Revision: https://secure.phabricator.com/D17488

+9 -3
+2 -2
resources/celerity/map.php
··· 96 96 'rsrc/css/application/policy/policy-transaction-detail.css' => '82100a43', 97 97 'rsrc/css/application/policy/policy.css' => '957ea14c', 98 98 'rsrc/css/application/ponder/ponder-view.css' => 'fbd45f96', 99 - 'rsrc/css/application/project/project-card-view.css' => 'e17bf825', 99 + 'rsrc/css/application/project/project-card-view.css' => '1be8c87b', 100 100 'rsrc/css/application/project/project-view.css' => '792c9057', 101 101 'rsrc/css/application/releeph/releeph-core.css' => '9b3c5733', 102 102 'rsrc/css/application/releeph/releeph-preview-branch.css' => 'b7a6f4a5', ··· 905 905 'policy-edit-css' => '815c66f7', 906 906 'policy-transaction-detail-css' => '82100a43', 907 907 'ponder-view-css' => 'fbd45f96', 908 - 'project-card-view-css' => 'e17bf825', 908 + 'project-card-view-css' => '1be8c87b', 909 909 'project-view-css' => '792c9057', 910 910 'releeph-core' => '9b3c5733', 911 911 'releeph-preview-branch' => 'b7a6f4a5',
+2
src/applications/people/view/PhabricatorUserCardView.php
··· 31 31 protected function getTagAttributes() { 32 32 $classes = array(); 33 33 $classes[] = 'project-card-view'; 34 + $classes[] = 'people-card-view'; 34 35 35 36 if ($this->profile->getIsDisabled()) { 36 37 $classes[] = 'project-card-disabled'; ··· 120 121 'a', 121 122 array( 122 123 'href' => $href, 124 + 'class' => 'project-card-image-href', 123 125 ), 124 126 $image); 125 127
+5 -1
webroot/rsrc/css/application/project/project-card-view.css
··· 43 43 border-radius: 3px; 44 44 } 45 45 46 + .project-card-view .project-card-image-href { 47 + display: inline-block; 48 + } 49 + 46 50 .project-card-view .project-card-item div { 47 51 display: inline; 48 52 } ··· 103 107 margin-top: 8px; 104 108 } 105 109 106 - .project-card-view .phui-header-subheader .phui-tag-core { 110 + .people-card-view .phui-header-subheader .phui-tag-core { 107 111 text-overflow: ellipsis; 108 112 white-space: nowrap; 109 113 max-width: 232px;