vier: use object-fit: cover for recent photos view

This commit is contained in:
rabuzarus 2016-02-03 03:59:42 +01:00
parent 748d0e576c
commit 58c1f9a60f
1 changed files with 24 additions and 18 deletions

View File

@ -2947,35 +2947,41 @@ a.mail-list-link {
color: #999999;
}
/* photo album page */
.photo-top-image-wrapper {
position: relative;
float: left;
margin-top: 15px;
margin-right: 15px;
width: 200px; height: 200px;
overflow: hidden;
position: relative;
float: left;
margin-top: 15px;
margin-right: 15px;
width: 200px; height: 200px;
overflow: hidden;
}
.photo-top-album-name {
width: 100%;
min-height: 2em;
position: absolute;
bottom: 0px;
padding: 0px 3px;
padding-top: 0.5em;
background-color: rgb(255, 255, 255);
width: 100%;
min-height: 2em;
position: absolute;
bottom: 0px;
padding: 0px 3px;
padding-top: 0.5em;
background-color: rgb(255, 255, 255);
}
#photo-top-end {
clear: both;
clear: both;
}
#photo-top-links {
margin-bottom: 30px;
margin-left: 30px;
margin-bottom: 30px;
margin-left: 30px;
}
#photos-upload-newalbum-div {
float: left;
width: 175px;
float: left;
width: 175px;
}
img.photo-top-photo {
width: 100%;
height: 100%;
object-fit: cover;
}
.menu-profile-list{