Browse Source

horizontal match layout

pull/1/head
Friendika 11 years ago
parent
commit
cd2a0802e4
  1. 5
      mod/match.php
  2. 7
      view/theme/duepuntozero/style.css
  3. 8
      view/theme/loozah/style.css

5
mod/match.php

@ -39,11 +39,12 @@ function match_content(&$a) {
if(count($j->results)) {
foreach($j->results as $jj) {
$o .= '<div class="profile-match-wrapper"><div class="profile-match-photo">';
$o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" /></a></div>';
$o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" title="' . $jj->name . '[' . $jj->url . ']' . '" /></a></div>';
$o .= '<div class="profile-match-break"></div>';
$o .= '<div class="profile-match-name"><a href="' . $jj->url . '">' . $jj->name . '</a></div>';
$o .= '<div class="profile-match-name"><a href="' . $jj->url . '" title="' . $jj->name . '[' . $jj->url .']' . '">' . $jj->name . '</a></div>';
$o .= '<div class="profile-match-end"></div></div>';
}
$o .= '<div id="profile-match-wrapper-end"></div>';
}
else {
notice( t('No matches') . EOL);

7
view/theme/duepuntozero/style.css

@ -2162,6 +2162,13 @@ a.mail-list-link {
clear: both;
}
.profile-match-wrapper {
float: left;
padding: 10px;
}
#profile-match-wrapper-end {
clear: both;
}
.side-link {
margin-bottom: 15px;
}

8
view/theme/loozah/style.css

@ -2188,6 +2188,14 @@ a.mail-list-link {
clear: both;
}
.profile-match-wrapper {
float: left;
padding: 10px;
}
#profile-match-wrapper-end {
clear: both;
}
.side-link {
margin-bottom: 15px;
}

Loading…
Cancel
Save