Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #141 from snapshotpl/master
Browse files Browse the repository at this point in the history
Fix default size on small screens
  • Loading branch information
EvanDotPro committed Oct 17, 2013
2 parents eac50fe + da9774c commit 4524ff7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions module/Application/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,8 @@ div.container a.brand {
height: 40px;

background: url(../img/speech-bubble-arrow.png) no-repeat;
}

img.avatar {
max-width: 80px;
}
2 changes: 1 addition & 1 deletion module/Application/view/application/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="span6 module-author">
<div class="row-fluid">
<div class="span2">
<img src="<?php echo $module->getPhotoUrl()?>" alt="<?php echo $module->getOwner()?>">
<img src="<?php echo $module->getPhotoUrl()?>" alt="<?php echo $module->getOwner()?>" class="avatar">
</div>
<div class="span10">
<strong><?php echo $module->getOwner()?></strong>
Expand Down
4 changes: 2 additions & 2 deletions module/Application/view/application/search/index.phtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php foreach($results as $module) {?>
<div class="row-fluid" >
<div class="row-fluid">
<div class="span12">
<div class="span1">
<img src="<?php echo $module->getPhotoUrl()?>" alt="<?php echo $module->getName()?>">
<img src="<?php echo $module->getPhotoUrl()?>" alt="<?php echo $module->getName()?>" class="avatar">
</div>
<div class="span10">
<a href="<?php echo $module->getUrl()?>"><?php echo $module->getName()?></a><br>
Expand Down
2 changes: 1 addition & 1 deletion module/User/view/user/helper/new-users.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php } ?>
<div class="span3">
<a href="https://github.com/<?php echo $user->getUserName()?>" data-delay="0" rel="tooltip" title="<?php echo $user->getUserName()?>" class="thumbnail">
<img src="<?php echo $user->getPhotoUrl()?>" alt="<?php echo $user->getUserName()?>">
<img src="<?php echo $user->getPhotoUrl()?>" alt="<?php echo $user->getUserName()?>" class="avatar">
</a>
</div>
<?php if($count%4 ==3){ ?>
Expand Down
6 changes: 2 additions & 4 deletions module/ZfModule/view/zf-module/helper/new-module.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
<hr>
</div>
</div>
<?php
foreach($modules as $module) {
?>
<?php foreach($modules as $module) { ?>
<div class="row-fluid">
<div class="span12">
<div class="span2">
<img src="<?php echo $module->getPhotoUrl()?>" alt="<?php echo $module->getName()?>">
<img src="<?php echo $module->getPhotoUrl()?>" alt="<?php echo $module->getName()?>" class="avatar">
</div>
<div class="span10">
<a href="<?php echo $this->url('view-module', array(
Expand Down

0 comments on commit 4524ff7

Please sign in to comment.