Skip to content

Commit

Permalink
Updates CSS to better support mobile devices and rendering of rss_log…
Browse files Browse the repository at this point in the history
… items.
  • Loading branch information
raysuelzer committed Feb 8, 2015
1 parent a1bfcf1 commit 3c1400f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions app/assets/stylesheets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ html, body{
margin: 0 !important;
}

/*Navigation*/

#navigation a {
display: block;
}
Expand All @@ -130,17 +132,21 @@ html, body{
}

.rss-log-item{
display: table-cell;
margin: auto;
width: inherit;
padding: 5px;
text-align: center;
vertical-align: middle;
height: 350px;
}

/*don't force log items to be a certain height on mobile devices because they are stacked on top of each other*/
@media screen and (max-width: 767px) {
.rss-log-item{
height: auto;
}
}

.rss-title, .rss-detail {
margin-top:10px;
margin-bottom:10px;
margin-top:5px;
margin-bottom:5px;
}


Expand Down

0 comments on commit 3c1400f

Please sign in to comment.