Commit 65103626 authored by Evonne's avatar Evonne Committed by Robert Lyon

Bug 1845104 Various theme fixes part 1

Fixing some inconsistencies with user-icon sizes, on profile page,
and recent forum posts, and taking out some redundant styles.

behatnotneeded

Change-Id: Ifef04d165a2257b6c89f007f82b33ef0b37edc3b
parent fb0adb74
......@@ -224,7 +224,7 @@ function get_desired_fields(&$allfields, $section) {
if ($section == 'about') {
$r = get_record_select('view', 'type = ? AND owner = ?', array('profile', $USER->id), 'id');
$label = '<div id="profileicon" class="profile-icon pseudolabel float-left"><a href="' . get_config('wwwroot') . 'artefact/file/profileicons.php" class="user-icon"><img src="'
$label = '<div id="profileicon" class="profile-icon pseudolabel float-left"><a href="' . get_config('wwwroot') . 'artefact/file/profileicons.php" class="user-icon user-icon-100"><img src="'
. profile_icon_url($USER, 100, 100) . '" alt="' . get_string("editprofileicon", "artefact.file") . '"></a></div>';
$descr = '' . get_string('aboutprofilelinkdescription', 'artefact.internal', get_config('wwwroot') . 'view/blocks.php?id=' . $r->id);
$descr .= '<p>' . get_string('aboutdescription', 'artefact.internal') . '</p>';
......
......@@ -4,7 +4,7 @@
{foreach from=$foruminfo item=postinfo}
<li class="list-group-item flush">
<div class="usericon-heading clearfix">
<a href="{profile_url($postinfo->author)}" class="user-icon small-icon">
<a href="{profile_url($postinfo->author)}" class="user-icon user-icon-30 small-icon">
<img src="{profile_icon_url user=$postinfo->author maxheight=40 maxwidth=40}" alt="{str tag=profileimagetext arg1=$postinfo->author|display_default_name}" class="float-left">
</a>
<h4 class="title list-group-item-heading">
......
......@@ -337,7 +337,7 @@
.feedback.modal {
.btn-group-top.comment-item-buttons {
margin-top: -10px;
margin-top: -13px;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment