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

Clean up line-height on feed stories

Summary: Resets line-height, removes unused CSS.

Test Plan: Test long paragraphs in feed stories.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D10828
This commit is contained in:
Chad Little 2014-11-11 08:26:49 -08:00
parent af6ffd8c7b
commit d0f477f170
2 changed files with 7 additions and 21 deletions

View file

@ -124,7 +124,7 @@ return array(
'rsrc/css/phui/phui-box.css' => '7b3a2eed', 'rsrc/css/phui/phui-box.css' => '7b3a2eed',
'rsrc/css/phui/phui-button.css' => 'c7412aa1', 'rsrc/css/phui/phui-button.css' => 'c7412aa1',
'rsrc/css/phui/phui-document.css' => 'a5615198', 'rsrc/css/phui/phui-document.css' => 'a5615198',
'rsrc/css/phui/phui-feed-story.css' => '55dc7732', 'rsrc/css/phui/phui-feed-story.css' => 'dd3c5ff5',
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce', 'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
'rsrc/css/phui/phui-form-view.css' => 'a3efd18c', 'rsrc/css/phui/phui-form-view.css' => 'a3efd18c',
'rsrc/css/phui/phui-form.css' => 'b78ec020', 'rsrc/css/phui/phui-form.css' => 'b78ec020',
@ -772,7 +772,7 @@ return array(
'phui-calendar-list-css' => 'c1d0ca59', 'phui-calendar-list-css' => 'c1d0ca59',
'phui-calendar-month-css' => 'a92e47d2', 'phui-calendar-month-css' => 'a92e47d2',
'phui-document-view-css' => 'a5615198', 'phui-document-view-css' => 'a5615198',
'phui-feed-story-css' => '55dc7732', 'phui-feed-story-css' => 'dd3c5ff5',
'phui-font-icon-base-css' => '3dad2ae3', 'phui-font-icon-base-css' => '3dad2ae3',
'phui-fontkit-css' => '9c3d2dce', 'phui-fontkit-css' => '9c3d2dce',
'phui-form-css' => 'b78ec020', 'phui-form-css' => 'b78ec020',

View file

@ -35,6 +35,10 @@
overflow: hidden; overflow: hidden;
} }
.phui-feed-story-body.phabricator-remarkup {
line-height: inherit;
}
.phui-feed-story-foot { .phui-feed-story-foot {
font-size: 11px; font-size: 11px;
background: {$lightgreybackground}; background: {$lightgreybackground};
@ -47,8 +51,7 @@
color: {$greytext}; color: {$greytext};
} }
.phui-feed-story-foot .phui-icon-view, .phui-feed-story-foot .phui-icon-view {
.phui-feed-story-oneline-foot .phui-icon-view {
float: left; float: left;
display: inline-block; display: inline-block;
margin-right: 5px; margin-right: 5px;
@ -94,20 +97,3 @@
.phui-feed-story-action-list .phui-icon-view { .phui-feed-story-action-list .phui-icon-view {
display: block; display: block;
} }
.phui-feed-story-oneline .phui-feed-story-head {
padding: 8px;
}
.phui-feed-story-oneline .phui-feed-story-body {
padding: 0;
}
.phui-feed-story-oneline-foot,
.phui-feed-story-oneline-foot a {
font-size: 11px;
color: {$lightgreytext};
margin-top: 2px;
line-height: 14px;
font-weight: normal;
}