Skip to content

Commit d0f477f

Browse files
committedNov 11, 2014
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
1 parent af6ffd8 commit d0f477f

File tree

2 files changed

+7
-21
lines changed

2 files changed

+7
-21
lines changed
 

‎resources/celerity/map.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
'rsrc/css/phui/phui-box.css' => '7b3a2eed',
125125
'rsrc/css/phui/phui-button.css' => 'c7412aa1',
126126
'rsrc/css/phui/phui-document.css' => 'a5615198',
127-
'rsrc/css/phui/phui-feed-story.css' => '55dc7732',
127+
'rsrc/css/phui/phui-feed-story.css' => 'dd3c5ff5',
128128
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
129129
'rsrc/css/phui/phui-form-view.css' => 'a3efd18c',
130130
'rsrc/css/phui/phui-form.css' => 'b78ec020',
@@ -772,7 +772,7 @@
772772
'phui-calendar-list-css' => 'c1d0ca59',
773773
'phui-calendar-month-css' => 'a92e47d2',
774774
'phui-document-view-css' => 'a5615198',
775-
'phui-feed-story-css' => '55dc7732',
775+
'phui-feed-story-css' => 'dd3c5ff5',
776776
'phui-font-icon-base-css' => '3dad2ae3',
777777
'phui-fontkit-css' => '9c3d2dce',
778778
'phui-form-css' => 'b78ec020',

‎webroot/rsrc/css/phui/phui-feed-story.css

+5-19
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
overflow: hidden;
3636
}
3737

38+
.phui-feed-story-body.phabricator-remarkup {
39+
line-height: inherit;
40+
}
41+
3842
.phui-feed-story-foot {
3943
font-size: 11px;
4044
background: {$lightgreybackground};
@@ -47,8 +51,7 @@
4751
color: {$greytext};
4852
}
4953

50-
.phui-feed-story-foot .phui-icon-view,
51-
.phui-feed-story-oneline-foot .phui-icon-view {
54+
.phui-feed-story-foot .phui-icon-view {
5255
float: left;
5356
display: inline-block;
5457
margin-right: 5px;
@@ -94,20 +97,3 @@
9497
.phui-feed-story-action-list .phui-icon-view {
9598
display: block;
9699
}
97-
98-
.phui-feed-story-oneline .phui-feed-story-head {
99-
padding: 8px;
100-
}
101-
102-
.phui-feed-story-oneline .phui-feed-story-body {
103-
padding: 0;
104-
}
105-
106-
.phui-feed-story-oneline-foot,
107-
.phui-feed-story-oneline-foot a {
108-
font-size: 11px;
109-
color: {$lightgreytext};
110-
margin-top: 2px;
111-
line-height: 14px;
112-
font-weight: normal;
113-
}

0 commit comments

Comments
 (0)
Failed to load comments.