forked from GNUsocial/gnu-social
Repeated and Favorited CSS/mf2 fixes
For some reason I'd added an 'e-content' class for repeats and faves
This commit is contained in:
parent
53fb39a1d0
commit
67ed1ec77e
@ -443,9 +443,9 @@ abstract class NoticeListActorsItem extends NoticeListItem
|
|||||||
array_unshift($links, _m('FAVELIST', 'You'));
|
array_unshift($links, _m('FAVELIST', 'You'));
|
||||||
} else {
|
} else {
|
||||||
$profile = Profile::getKV('id', $id);
|
$profile = Profile::getKV('id', $id);
|
||||||
if ($profile) {
|
if ($profile instanceof Profile) {
|
||||||
$links[] = sprintf('<a href="%s">%s</a>',
|
$links[] = sprintf('<a class="h-card" href="%s">%s</a>',
|
||||||
htmlspecialchars($profile->profileurl),
|
htmlspecialchars($profile->getUrl()),
|
||||||
htmlspecialchars($profile->getBestName()));
|
htmlspecialchars($profile->getBestName()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -548,7 +548,7 @@ class ThreadedNoticeListInlineFavesItem extends ThreadedNoticeListFavesItem
|
|||||||
{
|
{
|
||||||
function showStart()
|
function showStart()
|
||||||
{
|
{
|
||||||
$this->out->elementStart('div', array('class' => 'e-content notice-faves'));
|
$this->out->elementStart('div', array('class' => 'notice-faves'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function showEnd()
|
function showEnd()
|
||||||
@ -625,7 +625,7 @@ class ThreadedNoticeListInlineRepeatsItem extends ThreadedNoticeListRepeatsItem
|
|||||||
{
|
{
|
||||||
function showStart()
|
function showStart()
|
||||||
{
|
{
|
||||||
$this->out->elementStart('div', array('class' => 'e-content notice-repeats'));
|
$this->out->elementStart('div', array('class' => 'notice-repeats'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function showEnd()
|
function showEnd()
|
||||||
|
@ -902,8 +902,10 @@ content: ":";
|
|||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .notice .threaded-replies .notice div.e-content.notice-faves {
|
.threaded-replies .notice-repeats,
|
||||||
|
.threaded-replies .notice-faves {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
font-size: 0.88em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.threaded-replies li {
|
.threaded-replies li {
|
||||||
|
Loading…
Reference in New Issue
Block a user