Commit eac051ff authored by Fla's avatar Fla Committed by Fla

Set fixed height of tile in photos stream, fix #6809

parent 5f3e4fc3
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
overflow: inherit; overflow: inherit;
> .control-icons { > .control-icons {
border-radius: 4px; border-radius: 4px;
padding-left: 5px;
position: absolute; position: absolute;
right: 6px; right: 6px;
text-align: center; text-align: center;
...@@ -28,12 +27,37 @@ ...@@ -28,12 +27,37 @@
&:hover > .bd > .control-icons { background: $white; } &:hover > .bd > .control-icons { background: $white; }
} }
.thumbnail { .thumbnail {
padding: 10px;
margin: 0 0 15px;
background: $white; background: $white;
border-radius: 0; border-radius: 0;
box-shadow: $card-shadow; box-shadow: $card-shadow;
img.big_photo { max-height: 200px; } height: 240px;
margin: 0 0 15px;
padding: 10px;
// Vertically align the image
text-align: center;
white-space: nowrap;
&:hover,
&:focus,
&:active {
border-color: $light-grey;
text-decoration: none;
}
&::before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
.big-photo {
display: inline;
margin-left: -4px;
max-height: 200px;
vertical-align: middle;
}
} }
} }
......
...@@ -20,11 +20,9 @@ ...@@ -20,11 +20,9 @@
</div> </div>
{{/if}} {{/if}}
<div class="thumbnail img-thumbnail"> <a href="{{sizes.large}}" class="thumbnail img-thumbnail photo-link gallery-picture">
<a href="{{sizes.large}}" class="photo-link gallery-picture"> <img src="{{sizes.large}}" class="photo big-photo">
<img src="{{sizes.large}}" class="photo big_photo"> </a>
</a>
</div>
</div> </div>
<div class="card-footer"> <div class="card-footer">
<div class="footer-container"> <div class="footer-container">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment