1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Tweak padding/spacing on Diffusion blame view for profile pictures

Summary: Give profile images a little more space, fix "/" spacing, add a tooltip.

Test Plan: {F5251205}

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18749
This commit is contained in:
epriestley 2017-10-31 12:23:16 -07:00
parent a4b934cad2
commit 80ebe401e5
3 changed files with 11 additions and 6 deletions

View file

@ -73,7 +73,7 @@ return array(
'rsrc/css/application/diffusion/diffusion-icons.css' => '0c15255e',
'rsrc/css/application/diffusion/diffusion-readme.css' => '419dd5b6',
'rsrc/css/application/diffusion/diffusion-repository.css' => 'ee6f20ec',
'rsrc/css/application/diffusion/diffusion-source.css' => 'd96b3f9f',
'rsrc/css/application/diffusion/diffusion-source.css' => '5f35a3bd',
'rsrc/css/application/diffusion/diffusion.css' => '45727264',
'rsrc/css/application/feed/feed.css' => 'ecd4ec57',
'rsrc/css/application/files/global-drag-and-drop.css' => 'b556a948',
@ -572,7 +572,7 @@ return array(
'diffusion-icons-css' => '0c15255e',
'diffusion-readme-css' => '419dd5b6',
'diffusion-repository-css' => 'ee6f20ec',
'diffusion-source-css' => 'd96b3f9f',
'diffusion-source-css' => '5f35a3bd',
'diviner-shared-css' => '896f1d43',
'font-fontawesome' => 'e838e088',
'font-lato' => 'c7ccd872',

View file

@ -1815,6 +1815,11 @@ final class DiffusionBrowseController extends DiffusionController {
'class' => 'diffusion-author-link',
'style' => $style,
'href' => $href,
'sigil' => 'has-tooltip',
'meta' => array(
'tip' => $handles[$phid]->getName(),
'align' => 'E',
),
));
}

View file

@ -64,14 +64,14 @@
color: {$darkbluetext};
}
.diffusion-rev-link a,
.diffusion-rev-link span {
.diffusion-rev-link a {
margin: 0 8px 0 0;
display: inline-block;
}
.diffusion-rev-link span {
margin-right: -4px;
display: inline-block;
margin-right: 4px;
margin-left: -4px;
color: {$lightgreytext};
}
@ -94,7 +94,7 @@
.diffusion-rev-link .diffusion-author-link {
display: inline-block;
padding: 0;
margin: 2px 4px -4px 4px;
margin: 2px 6px -4px 8px;
width: 16px;
height: 16px;
background-size: 100% 100%;