vier: use object-fit: cover for recent photos view
This commit is contained in:
parent
748d0e576c
commit
58c1f9a60f
|
@ -2947,35 +2947,41 @@ a.mail-list-link {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* photo album page */
|
||||||
.photo-top-image-wrapper {
|
.photo-top-image-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
width: 200px; height: 200px;
|
width: 200px; height: 200px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.photo-top-album-name {
|
.photo-top-album-name {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 2em;
|
min-height: 2em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
padding: 0px 3px;
|
padding: 0px 3px;
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
background-color: rgb(255, 255, 255);
|
background-color: rgb(255, 255, 255);
|
||||||
}
|
}
|
||||||
#photo-top-end {
|
#photo-top-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
#photo-top-links {
|
#photo-top-links {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#photos-upload-newalbum-div {
|
#photos-upload-newalbum-div {
|
||||||
float: left;
|
float: left;
|
||||||
width: 175px;
|
width: 175px;
|
||||||
|
}
|
||||||
|
img.photo-top-photo {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-profile-list{
|
.menu-profile-list{
|
||||||
|
|
Loading…
Reference in a new issue