Skip to content

Commit

Permalink
Fix for issue:
Browse files Browse the repository at this point in the history
deleteman#50
Left edge of stats for projects is cut off when viewing on iPad 2 deleteman#50
  • Loading branch information
unknown committed Sep 16, 2014
1 parent ceb8e26 commit 7b4a4b5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
37 changes: 20 additions & 17 deletions app/views/Project/show.html.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="row">
<div class="row-fluid">
<div class="page-header">
<h1>
Stats for project: <small><?=$this->project->name?></small>
Expand Down Expand Up @@ -73,22 +73,25 @@
</div>
<div class="clearfix"></div>
</div>
<div class="span6 pull-left">
<h2>Popularity over time</h2>
<div class="well" id="main-stats" style="height:300px;">
</div>
</div>
<div class="span6 pull-left">
<h2>Commits activity</h2>
<div class="well " id="commits-stats" style="height:300px;">
</div>
</div>
<div class="clearfix"></div>
<div class="span12">
<h2>Pull requests activity</h2>
<div class="well " id="pull-stats" style="height:400px;">
</div>
</div>
<div class="stats-container">
<div class="span6 pull-left">
<h2>Popularity over time</h2>
<div class="well" id="main-stats" style="height:300px;">
</div>
</div>
<div class="span6 pull-left">
<h2>Commits activity</h2>
<div class="well " id="commits-stats" style="height:300px;">
</div>
</div>
</div>
<div class="stats-container">
<div class="span12">
<h2>Pull requests activity</h2>
<div class="well " id="pull-stats" style="height:400px;">
</div>
</div>
</div>
</div>
<div class="well tab-pane" id="readme">
<?=MarkdownExtra::defaultTransform($this->project->readme)?>
Expand Down
4 changes: 2 additions & 2 deletions app/views/layout/layout.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<div class="container">
<?php
if(user_logged_in()) { ?>
<div class="row">
<div class="row-fluid">
<div class="top-nav">
<span class="app-name">
<!-- Looking For Pull Requests-->
Expand Down Expand Up @@ -97,7 +97,7 @@
<?php
}
?>
<div class="row">
<div class="row-fluid">
<?= $this->renderView(); ?>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions public/stylesheets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ pointer-events: none;

#project-data-panel {
position: relative;
padding-left: 2.5em;
}

.pr_acceptance_rate {
Expand Down

0 comments on commit 7b4a4b5

Please sign in to comment.