Skip to content

Commit

Permalink
feat(citizenScienceExamples): alignment and spacing of bird images. H…
Browse files Browse the repository at this point in the history
…ide image if screen too narrow
  • Loading branch information
peichins committed Jan 5, 2018
1 parent 6f65998 commit f78c27b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/app/citizenScience/textLabels/labelCheck.tpl.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<div class="label-check">
<span>
<a ng-click="toggleLabel()" class="main-button">
<i class="fa"
ng-class="$ctrl.isChecked() ? 'fa-check-square-o' : 'fa-square-o'"
aria-hidden="true"></i><span>{{$ctrl.text}}</span>
<a>
</span>
</div>
19 changes: 16 additions & 3 deletions src/app/citizenScience/thumbLabels/_thumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,30 @@ $triangle: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.o

.citizen-science-thumb-example {

display:flex;
margin-top: 10px;
display: flex;
justify-content: space-evenly;

.img {
flex-grow:1;
background-size: cover;
background-position: center center;
box-shadow: 0px 0px 1px 10px rgba(0, 0, 0, 0.5) inset
box-shadow: 0px 0px 1px 10px rgba(0, 0, 0, 0.5) inset;
max-width: 60%;
min-width: 30%;
}

@media (max-width: 520px) {
.img {
display: none;
}
}

annotation-item {
flex-grow: 1;

padding-left: 20px;
padding-right: 10px;

}

}
Expand Down

0 comments on commit f78c27b

Please sign in to comment.